create method

Future<UIImage> create(
  1. Uint8List bitmapBytes
)

Implementation

static Future<UIImage> create(Uint8List bitmapBytes) async {
  final result = await kMethodChannel.invokeMethod<Ref>(
    'UIImage::createUIImage',
    {'bitmapBytes': bitmapBytes},
  );
  return UIImage()..refId = result.refId;
}