screenshot method

Future<Uint8List?> screenshot({
  1. String? format = 'image/jpeg',
})

Implementation

Future<Uint8List?> screenshot({String? format = 'image/jpeg'}) async {
  return await player.screenshot(
    format: format,
  );
}