WayPoint class

A WayPoint object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint.

Constructors

WayPoint({required String? name, required double? latitude, required double? longitude, bool? isSilent = false})
Constructor
WayPoint.fromJson(Map<String, dynamic> json)
create WayPoint from a json

Properties

hashCode int
The hash code for this object.
no setterinherited
isSilent bool?
Waypoint property isSilent
getter/setter pair
latitude double?
Waypoint latitude
getter/setter pair
longitude double?
Waypoint longitude
getter/setter pair
name String?
Waypoint name
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited