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(
  '~',
  _mapNode({'as': _stringNode(adl), '>': next.toNode()}),
);