Link constructor

Link({
  1. required String name,
  2. required CID cid,
  3. required int size,
})

Creates a new link with the given name, cid, and size.

Implementation

Link({required this.name, required this.cid, required int size})
  : size = fixnum.Int64(size);