factory UserInfo.fromJson(Map<String, dynamic> json) { return UserInfo(json['id'], json['name'], json['photo']); }