readBytes method

  1. @override
Future<Uint8List> readBytes(
  1. Uri url, {
  2. Map<String, String>? headers,
})

Liest URL-Inhalt als Bytes mit URL-Validierung

Implementation

@override
Future<Uint8List> readBytes(Uri url, {Map<String, String>? headers}) async {
  _validateUrl(url);
  return super.readBytes(url, headers: headers);
}