createWithUint8List method

Future<NSData> createWithUint8List(
  1. Uint8List data
)

Implementation

static Future<NSData> createWithUint8List(Uint8List data) async {
  final refId = await kMethodChannel
      .invokeMethod('NSData::createWithUint8List', {'data': data});
  return NSData()..refId = refId;
}