TffCity class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

TffCity(String status, String name, String fullName, String handle, String locale, double distance, String howFound)
TffCity.fromJson(Map<String, dynamic> json)
factory

Properties

distance double
The distance from the given location to the city/entity in meters
final
fullName String
The long name of the city / entity
final
handle String
The handle of the city / entity. Can be optionally used in getFare and as a mandatory parameter in getTaxiCompanies.
final
hashCode int
The hash code for this object.
no setterinherited
howFound String
The method the API was able to find the city / entity with. Can be geocode, nearest or empty.
final
locale String
The locale of the city / entity, for example en_US
final
name String
The short name of the city / entity
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
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