DistanceValue class
Represents the distance information in the response.
Constructors
- DistanceValue.new({required String text, required int value})
- Constructs a DistanceValue object.
-
DistanceValue.fromJson(Map<
String, dynamic> json) -
Creates an instance of DistanceValue from a JSON map.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts an instance of DistanceValue to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited