pushReplacement<T extends Object?> method

Future<T?> pushReplacement<T extends Object?>(
  1. String location, {
  2. Object? extra,
})

Replaces the top-most page of the page stack with the given URL location w/ optional query parameters, e.g. /family/f2/person/p1?color=blue.

Implementation

Future<T?> pushReplacement<T extends Object?>(String location,
        {Object? extra}) =>
    App.goRouter?.pushReplacement<T>(location, extra: extra) ??
    Future.value();