flutterPushAndRemoveUntilRoot method
Implementation
Future<dynamic> flutterPushAndRemoveUntilRoot({Map<String, dynamic>? arguments}) async {
// Map<String, dynamic> arg = {};
// if (arguments != null) {
// arg.addAll(arguments);
// }
String? routeName = arguments?["routeName"];
if (routeName != null) {
return await _flutterNavigator.pushNamedAndRemoveUntilRoot(routeName);
} else {
return null;
}
}