to<T> method
Push a widget onto the navigation stack.
Implementation
@override
Future<T?>? to<T>(dynamic widget, {dynamic arguments}) {
throw UnsupportedError(
'PlexGoRouter does not support Plex.to(widget). Use Plex.toNamed(path) instead.',
);
}