DjiHostApi class Null safety

Constructors

DjiHostApi({BinaryMessenger? binaryMessenger})
Constructor for DjiHostApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

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

connectDrone() Future<void>
delegateDrone() Future<void>
disconnectDrone() Future<void>
getBatteryLevel() Future<Battery>
getPlatformVersion() Future<Version>
land() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
registerApp() Future<void>
start(String arg_flightJson) Future<void>
takeOff() Future<void>
timeline() Future<void>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

codec → const MessageCodec<Object?>
_DjiHostApiCodec()