pushNamed<T> method

Future<T?> pushNamed<T>(
  1. String pagePath, {
  2. T? agrument,
})

Implementation

Future<T?> pushNamed<T>(String pagePath, {T? agrument}) async {
  return await Navigator.pushNamed<T>(this, pagePath, arguments: agrument);
}