toNode method

  1. @override
IPLDNode toNode()
override

Encode this selector as an IPLDNode using the official compact DAG-CBOR/DAG-JSON selector schema.

Implementation

@override
IPLDNode toNode() => _singleKeyMap(
  'r',
  _mapNode({'^': _intNode(start), '\$': _intNode(end), '>': next.toNode()}),
);