goErrorPage method
Navigate to the error page with the option to pass an error log information record.
record represents the error log information to be passed to the error page.
navigationMode is an optional mode of StandardPageNavigationMode to use during navigation.
pushParentPage indicates whether to push the parent page when navigating to a child page. default is false.
Implementation
void goErrorPage(
ReportRecord record, [
StandardPageNavigationMode? navigationMode,
bool pushParentPage = false,
]) {
_factoryTypeMap.values
.whereType<StandardErrorPageFactory>()
.firstOrNull
?.goWithResult(record, navigationMode, pushParentPage);
}