getBytes method

  1. @override
Future<Uint8List> getBytes(
  1. BuildContext context
)
override

Retrieves the bytes of the PDF document from memory.

Implementation

@override
Future<Uint8List> getBytes(BuildContext context) async {
  return Future<Uint8List>.value(_pdfBytes);
}