Block constructor

Block({
  1. required CID cid,
  2. required Uint8List data,
  3. String format = 'raw',
})

Creates a new Block with the given cid, data, and format.

Implementation

Block({required this.cid, required this.data, this.format = 'raw'});