Northeast class
Represents a geographic coordinate with latitude and longitude.
This class is commonly used to represent locations in navigation steps, such as start and end points of route segments.
Example:
final location = Northeast(
lat: 5.6037,
lng: -0.1870,
);
print('Location: ${location.lat}, ${location.lng}'); // Location: 5.6037, -0.1870
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lat ↔ double?
-
The latitude coordinate in decimal degrees.
getter/setter pair
- lng ↔ double?
-
The longitude coordinate in decimal degrees.
getter/setter pair
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited