Map<String, dynamic> toJson() { Map<String, dynamic> result = {}; for (var item in fileds) { result[item.name!] = item.toJson(); } return result; }