pushReplacement method

void pushReplacement(
  1. BuildContext context
)
inherited

Replaces the top-most page of the page stack with the route.

Implementation

void pushReplacement(BuildContext context) =>
    throw _GoRouteDataBase.shouldBeGeneratedError;