$OAuthRequirements.fromJson constructor Null safety

$OAuthRequirements.fromJson(
  1. Map _json
)

Implementation

$OAuthRequirements.fromJson(core.Map _json)
    : this(
        canonicalScopes: _json.containsKey('canonicalScopes')
            ? _json['canonicalScopes'] as core.String
            : null,
      );