closeUntil abstract method Null safety

void closeUntil(
  1. {required String location,
  2. Map<String, Object?>? resultMap}

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.


void closeUntil({
  required final String location,
  final Map<String, Object?>? resultMap,