BoundingBox class

A class for storing information of bounding box

A bounding box is an area defined by northeast coordinate and southwest coordinate.

Constructors

BoundingBox({required Coordinate northeast, required Coordinate southwest})
Creates bounding box
const
BoundingBox.fromJson(Map<String, dynamic> json)
Creates bounding box with a decoded json object from countries
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
northeast Coordinate
The coordinate represent as the most northeast point of this country
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
southwest Coordinate
The coordinate represent as the most southwest point of this country
final

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