close method Null safety

  1. @override
Future close()
override

Disposes of any outstanding resources.

Implementation

@override
Future close() {
  for (var service in _services) {
    service.close();
  }

  return super.close();
}