slice method

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

Source

Blob slice([int start, int end, String contentType]) {
  if (contentType != null) {
    return _blink.BlinkBlob.instance
        .slice_Callback_3_(this, start, end, contentType);
  }
  if (end != null) {
    return _blink.BlinkBlob.instance.slice_Callback_2_(this, start, end);
  }
  if (start != null) {
    return _blink.BlinkBlob.instance.slice_Callback_1_(this, start);
  }
  return _blink.BlinkBlob.instance.slice_Callback_0_(this);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Blob/slice.html