MerkleDAGNode constructor

MerkleDAGNode({
  1. required List<Link> links,
  2. required Uint8List data,
  3. bool isDirectory = false,
  4. int? mtime,
})

Creates a new MerkleDAGNode with the given components.

Implementation

MerkleDAGNode({
  required this.links,
  required this.data,
  this.isDirectory = false,
  this.mtime,
});