initDevice method

  1. @override
Future<void> initDevice({
  1. required String devId,
})
override

Init the device devId is passed on to native initDevice function on native is invoked

Implementation

@override
Future<void> initDevice({required String devId}) async {
  await methodChannel.invokeMethod<void>("initDevice", <String, dynamic>{
    'devId': devId,
  });
}