getBin method

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 {},
}) =>
    getBinUri(Uri.parse(url),
        readCache: readCache,
        writeCache: writeCache,
        ttl: ttl,
        headers: headers);