flutterPushAndReplace method

Future flutterPushAndReplace({
  1. Map<String, dynamic>? arguments,
})

Implementation

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