push<E> method

Future<E?> push<E>(
  1. BuildContext context
)
inherited

Calls StackRouter.push with this route on the nearest router

Implementation

Future<E?> push<E>(BuildContext context) {
  return context.router.push<E>(this);
}