createNSDataWithUint8List function

Future<NSData> createNSDataWithUint8List(
  1. Uint8List data
)

Implementation

Future<NSData> createNSDataWithUint8List(Uint8List data) async {
  final refId = await kMethodChannel.invokeMethod(
      'PlatformFactory::createNSDataWithUint8List', {'data': data});
  return NSData()
    ..refId = refId
    ..tag = 'platform';
}