chainIndex property
Implementation
int get chainIndex => switch (this) {
ReceiveNode() => EXTERNAL_CHAIN_INDEX,
ChangeNode() => INTERNAL_CHAIN_INDEX,
EmptyNode() => -1,
};
int get chainIndex => switch (this) {
ReceiveNode() => EXTERNAL_CHAIN_INDEX,
ChangeNode() => INTERNAL_CHAIN_INDEX,
EmptyNode() => -1,
};