delegateDrone method Null safety

Future<void> delegateDrone()

Starts Listening to DJI Drone status changes.

The DjiFlutterApi.setStatus() method is used, and the properties of the Drone class are updated in real time.

Implementation

static Future<void> delegateDrone() async {
  await _api?.delegateDrone();
}