getBytes method
Retrieves the bytes of the PDF document from the network.
Implementation
@override
Future<Uint8List> getBytes(BuildContext context) async {
_documentBytes ??= await http.readBytes(Uri.parse(_url), headers: _headers);
return Future<Uint8List>.value(_documentBytes);
}