ModulaErrorState.notFound constructor

ModulaErrorState.notFound({
  1. String? title,
  2. String? description,
  3. Widget? action,
})

Implementation

factory ModulaErrorState.notFound({
  String? title,
  String? description,
  Widget? action,
}) {
  return ModulaErrorState(
    type: ModulaErrorStateType.notFound,
    title: title ?? 'Not Found',
    description: description ??
        'The page or resource you are looking for does not exist.',
    action: action,
  );
}