preConnect method
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);
}