push<T extends Object?> method
Push this route onto the stack using the supplied data.
Implementation
Future<T?> push<T extends Object?>(
BuildContext context, {
required Data data,
}) {
return GoRouter.of(context).push(fullPath(data), extra: data.extra);
}