AuthorizationCodeLink.fromJson constructor

AuthorizationCodeLink.fromJson(
  1. Map json_
)

Implementation

AuthorizationCodeLink.fromJson(core.Map json_)
    : this(
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        enablePkce: json_.containsKey('enablePkce')
            ? json_['enablePkce'] as core.bool
            : null,
        scopes: json_.containsKey('scopes')
            ? (json_['scopes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );