DirectionsDuration class

Details about the total duration, with the following elements:

  • value indicates the duration in seconds.
  • text contains a human-readable representation of the duration.

Constructors

DirectionsDuration({String? text, num? value})
const
DirectionsDuration.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Contains a human-readable representation of the duration.
final
value num?
Indicates the duration in seconds.
final

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