class LogGeoZoneRequestModel { final int PointsID; final int GeoType; LogGeoZoneRequestModel({this.PointsID, this.GeoType}); Map toFlatMap() { return {"PointsID": PointsID.toString(), "GeoType": GeoType.toString()}; } }