getImageBytes method

  1. @override
Future<Uint8List?> getImageBytes(
  1. int page,
  2. PageSourceType pageSourceType
)
override

Implementation

@override
Future<Uint8List?> getImageBytes(
  int page,
  PageSourceType pageSourceType,
) async {
  return await methodChannel.invokeMethod<Uint8List?>('getImageBytes', {
    'page': page,
    'pageSourceType': pageSourceType.index,
  });
}