Position class

Constructors

Position()
factory
Position.fromBuffer(List<int> i, [dynamic r = $pb.ExtensionRegistry.EMPTY])
factory
Position.fromJson(String i, [dynamic r = $pb.ExtensionRegistry.EMPTY])
factory

Properties

bearing double
@$pb.TagNumber(3), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
info_ → dynamic
read-only
latitude double
@$pb.TagNumber(1), read / write
longitude double
@$pb.TagNumber(2), read / write
odometer double
@$pb.TagNumber(4), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
speed double
@$pb.TagNumber(5), read / write

Methods

clearBearing() → void
@$pb.TagNumber(3)
clearLatitude() → void
@$pb.TagNumber(1)
clearLongitude() → void
@$pb.TagNumber(2)
clearOdometer() → void
@$pb.TagNumber(4)
clearSpeed() → void
@$pb.TagNumber(5)
clone() Position
copyWith(void updates(Position)) Position
createEmptyInstance() Position
hasBearing() bool
@$pb.TagNumber(3)
hasLatitude() bool
@$pb.TagNumber(1)
hasLongitude() bool
@$pb.TagNumber(2)
hasOdometer() bool
@$pb.TagNumber(4)
hasSpeed() bool
@$pb.TagNumber(5)
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 ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

create() Position
createRepeated() → dynamic
getDefault() Position