replace abstract method

Future<void> replace(
  1. BuildContext context,
  2. String path
)

Replaces the current route with a new one. path is the new route.

Implementation

Future<void> replace(BuildContext context, String path);