goErrorPage method
Navigate to the error page with the option to pass an error log information record.
record represents the error log information of type ReportRecord to pass, and navigationMode signifies the optional mode of StandardPageNavigationMode to use during navigation.
Implementation
void goErrorPage(ReportRecord record,
[StandardPageNavigationMode? navigationMode]) {
final tFactory = _factoryTypeMap.values
.whereType<StandardErrorPageFactory>()
.firstOrNull;
if (tFactory != null) {
_goWithFactory<void>(tFactory, record, navigationMode);
}
}