Credentials.fromJson constructor
Implementation
factory Credentials.fromJson(Map<String, dynamic> json) {
return Credentials(
accessToken: json['AccessToken'] as String?,
accessTokenExpiration: timeStampFromJson(json['AccessTokenExpiration']),
refreshToken: json['RefreshToken'] as String?,
refreshTokenExpiration: timeStampFromJson(json['RefreshTokenExpiration']),
);
}