GeoData class
A class for storing information of coordinate and bounding box
Constructors
- GeoData({required Coordinate coordinate, required Coordinate maxCoordinate, required Coordinate minCoordinate, required BoundingBox boundary})
-
Creates Geodata
const
-
GeoData.fromJson(Map<
String, dynamic> json) -
Creates geodata with a decoded json object from countries
factory
Properties
- boundary → BoundingBox
-
The bounding box of this country
final
- coordinate → Coordinate
-
The coordinate represent as the center point of this country
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxCoordinate → Coordinate
-
The coordinate represent as the most northeast point of this country
final
- minCoordinate → Coordinate
-
The coordinate represent as the most southwest point of this country
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