create static method

Future<IPFSNode> create(
  1. IPFSConfig config
)

Returns a Future that resolves to an IPFSNode built from the config.

This is the recommended way to instantiate a node.

Implementation

static Future<IPFSNode> create(IPFSConfig config) async {
  final builder = IPFSNodeBuilder(config);
  return await builder.build();
}