create static method

Future<android_graphics_Bitmap> create(
  1. Uint8List bitmapBytes
)

Implementation

static Future<android_graphics_Bitmap> create(Uint8List bitmapBytes) async {
  final result = await kMethodChannel.invokeMethod<Ref>(
      'android.graphics.Bitmap::create', {'bitmapBytes': bitmapBytes});
  return android_graphics_Bitmap()..refId = result?.refId;
}