AuthToken.fromJson constructor
Implementation
factory AuthToken.fromJson(Map<String, dynamic> json) {
return AuthToken(
type: asString(json['type'], 'Bearer'),
accessToken: asString(json['access_token']),
expiresIn: asInt(json['expires_in']),
);
}