popToRoot abstract method

Future<void> popToRoot()

Removes every screen except the root.

Implementation

Future<void> popToRoot();