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