init method

  1. @override
Future<bool> init()
override

Initializes the connection to the device.

Implementation

@override
Future<bool> init() async {
  var result = true;
  result &= await simulatedDrive.init();
  result &= await realDrive.init();
  return result;
}