finish method

  1. @override
Blob finish()
override

Implementation

@override
web.Blob finish() {
  final blob = web.Blob(
    <JSUint8Array>[Uint8List.fromList(_dataViews).toJS].toJS,
    web.BlobPropertyBag(type: 'audio/pcm'),
  );

  cleanup();

  return blob;
}