OAuth2DomainInfo.fromJson(Map<String, dynamic> json) : scheme = schemeTypeFromString(json['scheme']), name = json['name'];