OauthRequirements.fromJson constructor
OauthRequirements.fromJson(
- Object? j
Implementation
factory OauthRequirements.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return OauthRequirements(
canonicalScopes: switch (json['canonicalScopes']) {
null => '',
Object $1 => decodeString($1),
},
);
}