AuthInfo.fromJson(Map<String, dynamic> json) { type = json['type']; url = json['url']; name = json['name']; }