SubdivisionGeoData class
A class for storing information of coordinate
Constructors
- SubdivisionGeoData({required double? latitude, required double? longitude, required double? maxLatitude, required double? maxLongitude, required double? minLatitude, required double? minLongitude})
-
Creates subdivision GeoData
const
-
SubdivisionGeoData.fromJson(Map<
String, dynamic> json) -
Creates subdivision GeoData with a decoded json object from countries
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- latitude → double?
-
The latitude represent as the center point of subdivision
final
- longitude → double?
-
The longitude represent as the center point of subdivision
final
- maxLatitude → double?
-
The maximum latitude represent as the center point of subdivision
final
- maxLongitude → double?
-
The maximum longitude represent as the center point of subdivision
final
- minLatitude → double?
-
The minimum latitude represent as the center point of subdivision
final
- minLongitude → double?
-
The minimum longitude represent as the center point of subdivision
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override