OauthClientCredential.fromJson constructor

OauthClientCredential.fromJson(
  1. Map json_
)

Implementation

OauthClientCredential.fromJson(core.Map json_)
    : this(
        clientSecret: json_.containsKey('clientSecret')
            ? json_['clientSecret'] as core.String
            : null,
        disabled: json_.containsKey('disabled')
            ? json_['disabled'] as core.bool
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );