remove method

Future<void> remove()

Removes the Docker network.

Safe to call even if create was never called — does nothing in that case.

Implementation

Future<void> remove() async {
  final id = _networkId;
  if (id != null) {
    await _dockerClient.removeNetwork(id);
  }
}