OAuthCredential.fromJson constructor

OAuthCredential.fromJson(
  1. Map json_
)

Implementation

OAuthCredential.fromJson(core.Map json_)
    : this(
        oauthTokenSecretVersion: json_.containsKey('oauthTokenSecretVersion')
            ? json_['oauthTokenSecretVersion'] as core.String
            : null,
        username: json_.containsKey('username')
            ? json_['username'] as core.String
            : null,
      );