location has been enabled in addition to sending the domain
This commit is contained in:
8
lib/domain/models/location_payload.dart
Normal file
8
lib/domain/models/location_payload.dart
Normal file
@@ -0,0 +1,8 @@
|
||||
class LocationPayload {
|
||||
final double lat;
|
||||
final double lng;
|
||||
|
||||
const LocationPayload({required this.lat, required this.lng});
|
||||
|
||||
Map<String, dynamic> toJson() => {'latitude': lat, 'longitude': lng};
|
||||
}
|
||||
Reference in New Issue
Block a user