bodyFormatDriver function
Implementation
Map<String, dynamic> bodyFormatDriver(
CoordinateRF coord,
double radius,
) {
return {
"UserId": 0,
"TableName": "GetAvailableDrivers",
"Command": "GetData",
"TotalRecord": 100,
"PageNo": 1,
"PageSize": 25,
"UserGuid": 0,
"ApiPacket": {
"Packet": {
"Lat": coord.lat,
"Lng": coord.lng,
"Radius": radius,
},
"PacketList": null
}
};
}