RefreshableTokenMap.fromJson constructor
- JsonMap json
Create new RefreshableTokenMap from a JsonMap.
Implementation
factory RefreshableTokenMap.fromJson(JsonMap json) => RefreshableTokenMap(
accessToken: json['access_token'] as String?,
expiresIn: json['expires_in'] as int?,
scope: json['scope'] as String?,
tokenType: json['token_type'] as String?,
expiresAt: json['expires_at'] as int?,
refreshToken: json['refresh_token'] as String?,
);