Drone class Null safety

Constructors

Drone({String? status, 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
hashCode int
The hash code for this object. [...]
read-only, inherited
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-only, inherited
speed double?
read / write
status String?
read / write
yaw double?
read / write

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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