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