pushReplacement method

void pushReplacement({
  1. required String route,
  2. Map<String, dynamic>? item,
})

Implementation

void pushReplacement({required String route, Map<String, dynamic>? item}) {
  Get.find<PageManager>()
      .pushReplacement(route: route, item: item, context: this);
}