writeLocalProperties function

void writeLocalProperties(
  1. File properties
)

Implementation

void writeLocalProperties(File properties) {
  final SettingsFile settings = SettingsFile();
  if (androidSdk != null) {
    settings.values['sdk.dir'] = escapePath(androidSdk.directory);
    settings.values['flutter.sdk'] = escapePath(Cache.flutterRoot);
  }

  settings.writeContents(properties);
}