LocationModel class
Constructors
-
LocationModel.new({required double latitude, required double longitude, String? address, String? street, String? locality, String? subLocality, String? administrativeArea, String? subAdministrativeArea, String? country, String? postalCode, String? countryCode})
-
-
LocationModel.fromCoordinates({required double latitude, required double longitude})
-
factory
-
LocationModel.fromJson(Map<String, dynamic> json)
-
factory
Methods
-
copyWith({double? latitude, double? longitude, String? address, String? street, String? locality, String? subLocality, String? administrativeArea, String? subAdministrativeArea, String? country, String? postalCode, String? countryCode})
→ LocationModel
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
-
toString()
→ String
-
A string representation of this object.
override