in lib/src/credentials.dart [118:130]
Map<String, dynamic> Function(MediaType? mediaType, String body)?
getParameters})
: scopes = UnmodifiableListView(
// Explicitly type-annotate the list literal to work around
// sdk#24202.
scopes == null ? <String>[] : scopes.toList()),
_delimiter = delimiter ?? ' ',
_getParameters = getParameters ?? parseJsonParameters;
/// Loads a set of credentials from a JSON-serialized form.
///
/// Throws a [FormatException] if the JSON is incorrectly formatted.
factory Credentials.fromJson(String json) {