supportRangeLoad method

  1. @override
Future<bool> supportRangeLoad()

Whether partial loading is supported.

Many asynchronous sources do not allow partial reading.

Implementation

@override
Future<bool> supportRangeLoad() async {
  return headers['accept-ranges'] == 'bytes';
}