exportBitmap method

Future<Uint8List?> exportBitmap()

Exports the current rendering frame as PNG image bytes. Returns null if not rendering or avatar is not initialized.

Implementation

Future<Uint8List?> exportBitmap() async {
  return await _methodChannel.invokeMethod<Uint8List>('exportBitmap');
}