preConnect method

Future preConnect({
  1. required String iotId,
  2. required int streamType,
})

Implementation

Future preConnect({required String iotId, required int streamType}) async {
  Map<String, dynamic> args = <String, dynamic>{'iotId': iotId, 'streamType': streamType};
  await _channel.invokeMethod('preConnect',args);
}