closeUntil abstract method Null safety
Close the current top most location and
every location after it until location
is visible.
resultMap
of String location path to Object as result for screen.
Implementation
void closeUntil({
required final String location,
final Map<String, Object?>? resultMap,
});