slice method

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

The slice() method of the Blob interface creates and returns a new Blob object which contains data from a subset of the blob on which it's called.

Implementation

external Blob slice([
  int start,
  int end,
  String contentType,
]);