delete<S> method
Deletes the Instance<S
>, cleaning the memory and closes any open
controllers (DisposableInterface).
tag
Optional "tag" used to register the Instanceforce
Will delete an Instance even if marked aspermanent
.
Implementation
Future<bool> delete<S>({String? tag, bool force = false}) async =>
GetInstance().delete<S>(tag: tag, force: force);