slice method

Blob slice([
  1. int? start,
  2. int? end,
  3. String? contentType
])

Returns a new Blob object containing the data in the specified range of bytes of the blob on which it's called.

MDN Reference

Implementation

Blob slice([int? start, int? end, String? contentType]) => _SlicedBlob(this,
    start: start ?? 0, end: end ?? size, type: contentType ?? type);