shutdown method

Future<void> shutdown()

Implementation

Future<void> shutdown() =>
    Future.wait(nodes.where((i) => i.$rootNode).map((i) => i.destroy()));