getScripts method

Future<JsonMap> getScripts()

Returns a map of scripts defined in pubspec.yaml or the scripts from the file path defined in pubspec.yaml.

Implementation

Future<JsonMap> getScripts() async {
  scripts ??= await _getScriptsUncached();
  return scripts!;
}