path static method

String? path({
  1. Map<String, String>? environment,
})

Where the file is: sdks.json in the settings folder; null when there is no settings folder.

Implementation

static String? path({Map<String, String>? environment}) {
  final dir = UserPaths.configDir(environment: environment);
  return dir == null ? null : '$dir/$fileName';
}