popScope abstract method

Future<void> popScope()

Disposes all factories/Singletons that have been registered in this scope and pops (destroys) the scope so that the previous scope gets active again. if you provided dispose functions on registration, they will be called. if you passed a dispose function when you pushed this scope it will be called before the scope is popped. As dispose functions can be async, you should await this function.

Implementation

Future<void> popScope();