Blob constructor

Blob(
  1. Uint8List bytes
)

Creates a blob holding a copy of bytes; later changes to bytes do not affect the blob. Its subtype is 0.

Implementation

Blob(Uint8List bytes) : _bytes = Uint8List.fromList(bytes), subtype = 0;