getSource method

Future<String> getSource()

Returns the file path where the scripts are defined which can be either pubspec.yaml or a file path defined in pubspec.yaml.

Implementation

Future<String> getSource() async {
  source ??= await _getSourceUncached();
  return source!;
}