AccountCredentials.fromJson constructor

AccountCredentials.fromJson(
  1. Map json_
)

Implementation

AccountCredentials.fromJson(core.Map json_)
    : this(
        accessToken: json_.containsKey('accessToken')
            ? json_['accessToken'] as core.String
            : null,
        expiresIn: json_.containsKey('expiresIn')
            ? json_['expiresIn'] as core.String
            : null,
        purpose: json_.containsKey('purpose')
            ? json_['purpose'] as core.String
            : null,
      );