EarthoCredentials.fromJSON constructor
Implementation
EarthoCredentials.fromJSON(Map<String, dynamic> json)
: tokenType = json['tokenType'] ?? json['token_type'],
refreshToken = json['refreshToken'] ?? json['refresh_token'],
idToken = json['idToken'] ?? json['id_token'],
scope = json['scope'],
recoveryCode = json['recoveryCode'] ?? json['recovery_code'];