OAuth2.fromJson constructor

OAuth2.fromJson(
  1. Map json_
)

Implementation

OAuth2.fromJson(core.Map json_)
    : this(
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        clientSecret: json_.containsKey('clientSecret')
            ? json_['clientSecret'] as core.String
            : null,
        clientSecretSha256: json_.containsKey('clientSecretSha256')
            ? json_['clientSecretSha256'] as core.String
            : null,
      );