GoogleClientSecret.fromJsonFile constructor
GoogleClientSecret.fromJsonFile(
- File file
Creates a new instance of GoogleClientSecret from a JSON file. The file is expected to follow the format described in GoogleClientSecret.fromJson.
Implementation
factory GoogleClientSecret.fromJsonFile(final File file) {
final jsonString = file.readAsStringSync();
return GoogleClientSecret.fromJsonString(jsonString);
}