reset abstract method

Future<void> reset({
  1. bool dispose = true,
})

Clears all registered types. Handy when writing unit tests If you provided dispose function when registering they will be called dispose if false it only resets without calling any dispose functions As dispose functions can be async, you should await this function.

Implementation

Future<void> reset({bool dispose = true});