replace<T extends Object?> static method
Replace a designated flutter page with a new flutter page in the current container.
Implementation
static Future<T?> replace<T extends Object?>(
String routeName, [
Map<String, dynamic>? routeArgs,
bool animated = false,
]) async {
return FusionNavigatorDelegate.instance
.replace(routeName, routeArgs, animated);
}