errorBuild method

RouteQueueEntry errorBuild(
  1. String location,
  2. Map params,
  3. Map extra,
  4. Object? groupId,
)

Implementation

RouteQueueEntry errorBuild(
    String location, Map params, Map extra, Object? groupId) {
  if (errorPageBuilder != null) {
    return errorPageBuilder!(location, params, extra, groupId);
  }
  return RouteQueueEntry.error(
      path: location, params: params, queryParams: extra, groupId: groupId);
}