createNode method

Node createNode(
  1. int chainId
)

Creates an in memory single validator chain.

Implementation

Node createNode(int chainId) {
  final h = lib.fn<_NodeNewC>('aviary_node_new').asFunction<_NodeNewD>()(
    chainId,
  );
  return Node._(this, _requireHandle(h, 'node creation'));
}