DirectionRouteLeg class

Constructors

DirectionRouteLeg({required DistanceValue distance, required DurationValue duration, required String endAddress, required AddressPoint endLocation, required String startAddress, required AddressPoint startLocation, required List<DirectionLegStep> steps, required List trafficSpeedEntry, required List viaWaypoint})
const
DirectionRouteLeg.fromJson(Map<String, dynamic> json)
factory

Properties

distance DistanceValue
final
distanceInMeters int
no setter
duration DurationValue
final
endAddress String
final
endLocation AddressPoint
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAddress String
final
startLocation AddressPoint
final
steps List<DirectionLegStep>
final
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
trafficSpeedEntry List
final
viaWaypoint List
final

Methods

copyWith({DistanceValue? distance, DurationValue? duration, String? endAddress, AddressPoint? endLocation, String? startAddress, AddressPoint? startLocation, List<DirectionLegStep>? steps, List? trafficSpeedEntry, List? viaWaypoint}) DirectionRouteLeg
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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