Closes all registered resources.
Invokes the closing method for each object that has been registered.
Source
Future close() async { await Future.wait(_registrations.map((r) => r.close())); _registrations = []; }
Closes all registered resources.
Invokes the closing method for each object that has been registered.
Future close() async { await Future.wait(_registrations.map((r) => r.close())); _registrations = []; }