pubRootDirectories property Null safety

List<String>? pubRootDirectories

the pubRootDirectories that are currently configured for the widget inspector.

This is for testing use only.

Implementation

@visibleForTesting
@protected
List<String>? get pubRootDirectories => _pubRootDirectories == null ? const <String>[] : List<String>.from(_pubRootDirectories!);