pushPath method

Future pushPath(
  1. String path, [
  2. Map<String, dynamic>? params
])

Pushes a new route

Implementation

Future<dynamic> pushPath(String path, [Map<String, dynamic>? params]) {
  Completer completer = Completer();
  _addPath(path, completer, params);
  notifyListeners();
  return completer.future;
}