transferIn method

  1. @override
Future<Uint8List?> transferIn(
  1. int packetSize,
  2. int timeout
)
override

Implementation

@override
Future<Uint8List?> transferIn(int packetSize, int timeout) async {
  final data = await methodChannel.invokeMethod<Uint8List?>('transferIn', {
    'length': packetSize,
    'timeout': timeout,
  });

  return data;
}