AccessCredentials.fromJson constructor

AccessCredentials.fromJson(
  1. Map json_
)

Implementation

AccessCredentials.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,
        refreshToken: json_.containsKey('refreshToken')
            ? json_['refreshToken'] as core.String
            : null,
      );