OAuthConfig.fromJson constructor

OAuthConfig.fromJson(
  1. Map json_
)

Implementation

OAuthConfig.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,
      );