factory ArcGISCredential.fromJson(Map<String, dynamic> json) { return ArcGISCredential.fromJsonString(jsonEncode(json)); }