getBytes abstract method

Future<Uint8List> getBytes(
  1. BuildContext context
)

Retrieves the byte data of the PDF document. This method should be implemented by subclasses to provide the specific logic for obtaining the PDF data from their respective sources.

The context parameter can be used if needed for asset resolution or other context-dependent operations. Returns a Future that completes with a Uint8List containing the PDF document bytes.

Implementation

Future<Uint8List> getBytes(BuildContext context);