ShapePoint class
- Implemented types
Constructors
- ShapePoint({required double latitude, required double longitude, required int seqNum})
- Creates a ShapePoint object.
- ShapePoint.empty()
- Creates an empty ShapePoint object.
-
ShapePoint.fromJson(Map<
String, dynamic> json) -
Creates a ShapePoint object from a JSON object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isEmpty → bool
-
Whether or not this object is empty.
no setter
- isNotEmpty → bool
-
Whether or not this object is not empty.
no setter
- latitude → double
-
final
- longitude → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seqNum → int
-
Order of the point in the sequence of shape points.
final
Methods
-
compareTo(
ShapePoint other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a JSON object which represents this object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override