class GeoZonesRequestModel { final String PatientID; GeoZonesRequestModel({this.PatientID}); Map toFlatMap() { if() return {"PatientID": PatientID.toString()}; } }