delete<S>  method 
Clears all registered instances (and/or tags). Even the persistent ones.
- 
clearFactoryclears the callbacks registered byGet.lazyPut()
- 
clearRouteBindingsclears Instances associated with Routes when using GetMaterialApp. Deletes theInstance<S>, cleaning the memory and closes any open controllers (DisposableInterface).
- 
tagOptional "tag" used to register the Instance
- 
forceWill delete an Instance even if marked aspermanent.
Implementation
// bool reset(
//         {@deprecated bool clearFactory = true,
//         @deprecated bool clearRouteBindings = true}) =>
//     GetInstance().reset(
//         // ignore: deprecated_member_use_from_same_package
//         clearFactory: clearFactory,
//         // ignore: deprecated_member_use_from_same_package
//         clearRouteBindings: clearRouteBindings);
/// Deletes the `Instance<S>`, cleaning the memory and closes any open
/// controllers (`DisposableInterface`).
///
/// - [tag] Optional "tag" used to register the Instance
/// - [force] Will delete an Instance even if marked as `permanent`.
Future<bool> delete<S>({String? tag, bool force = false}) async =>
    GetInstance().delete<S>(tag: tag, force: force);