SharedProfileSession.fromJson constructor
Implementation
factory SharedProfileSession.fromJson(Map<String, Object?> json) {
return SharedProfileSession(
accessToken: _nullableString(json["access_token"]),
refreshToken: _nullableString(json["refresh_token"]),
expiresAt: _nullableInt(json["expires_at"]),
tokenType: _nullableString(json["token_type"]) ?? "Bearer",
scope: _nullableString(json["scope"]),
idToken: _nullableString(json["id_token"]),
);
}