getBytes method
Retrieves the bytes of the PDF document from the file.
Implementation
@override
Future<Uint8List> getBytes(BuildContext context) async {
_documentBytes ??= await _file.readAsBytes();
return Future<Uint8List>.value(_documentBytes);
}