getBin method Null safety

Future<Uint8List> getBin(
  1. String url,
  2. {bool readCache = true,
  3. bool writeCache = true,
  4. Duration? ttl,
  5. Map<String, String> headers = const {}}
)

Implementation

Future<Uint8List> getBin(
  String url, {
  bool readCache = true,
  bool writeCache = true,
  Duration? ttl,
  Map<String, String> headers = const {},
}) =>
    _getBin(Uri.parse(url), readCache, writeCache, ttl, headers);