connect method

  1. @override
Future<Map?> connect(
  1. String deviceId,
  2. int timeout
)
override

Implementation

@override
Future<Map<dynamic, dynamic>?> connect(String deviceId, int timeout) async {
  return _methodChannel.invokeMethod<Map<dynamic, dynamic>?>('connect', {
    'deviceId': deviceId,
    'timeout': timeout,
  });
}