Location class abstract
Location
Properties:
- id
- name
- latitude
- longitude
- country
- distance - it's distance in kilometers between an user (longitude and latitude from request object) and a location object
- latencyRate - it's a rate from 0 to 1 which shows a connection quality. where 1 is good and 0 is bad
- alternativeNames
- Annotations
-
- @BuiltValue()
Constructors
- Location([void updates(LocationBuilder b)])
-
factory
Properties
-
alternativeNames
→ BuiltList<
String> ? -
no setter
- country → Country
-
no setter
- distance → double?
-
it's distance in kilometers between an user (longitude and latitude from request object) and a location object
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- latencyRate → double?
-
it's a rate from 0 to 1 which shows a connection quality. where 1 is good and 0 is bad
no setter
- latitude → double
-
no setter
- longitude → double
-
no setter
- name → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(LocationBuilder)) → Location -
Rebuilds the instance.
inherited
-
toBuilder(
) → LocationBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Location> -
no setter