TffCity class

Annotations

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
@JsonKey(name: 'full_name'), final
handle → String
The handle of the city / entity. Can be optionally used in getFare and as a mandatory parameter in getTaxiCompanies.
final
howFound → String
The method the API was able to find the city / entity with. Can be geocode, nearest or empty.
@JsonKey(name: 'how_found'), final
locale → String
The locale of the city / entity, for example en_US
final
name → String
The short name of the city / entity
final
status → String
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited