replaceLast method

Future<void> replaceLast(
  1. String path
)

Remove the last page in the stack and add the one with this path

Implementation

Future<void> replaceLast(String path) => navigator.replaceLast(path);