Drone class

Constructors

Drone({String? status, String? error, double? batteryPercent, double? altitude, double? latitude, double? longitude, double? speed, double? roll, double? pitch, double? yaw})

Properties

altitude double?
read / write
batteryPercent double?
read / write
error String?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
latitude double?
read / write
longitude double?
read / write
pitch double?
read / write
roll double?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
speed double?
read / write
status String?
read / write
yaw double?
read / write

Methods

encode() Object
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

Static Methods

decode(Object message) Drone