ApiSuccessNavigation.push constructor

const ApiSuccessNavigation.push(
  1. String route, {
  2. Object? args,
})

Calls Get.toNamed(route) after a successful response.

Implementation

const ApiSuccessNavigation.push(String route, {Object? args})
    : this(
  action: NavigationAction.pushNamed,
  routeName: route,
  arguments: args,
);