AuthorizationCodeLink.fromJson constructor

AuthorizationCodeLink.fromJson(
  1. Map json_
)

Implementation

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