replace static method
Implementation
static Future<dynamic> replace(
Widget page, {
BuildContext? localContext,
}) async {
YurLog("Replace : ${page.toString()}", name: "Get.replace");
await Navigator.pushReplacement(
localContext ?? context,
CupertinoPageRoute(builder: (context) => page),
);
}