toNamed abstract method

Future<T?> toNamed(
  1. String page, {
  2. Object? arguments,
  3. String? id,
  4. bool preventDuplicates = true,
  5. Map<String, String>? parameters,
})

Navigates to a named page and returns a result of type T.

Implementation

Future<T?> toNamed(
  String page, {
  Object? arguments,
  String? id,
  bool preventDuplicates = true,
  Map<String, String>? parameters,
});