FormatExceptionHandlerModel constructor

FormatExceptionHandlerModel({
  1. bool? formatExceptionHandle(
    1. FormatException exception
    )?,
  2. ExceptionExplanationModel? formatExceptionHandleModel,
})

Creates a FormatExceptionHandlerModel instance.

  • formatExceptionHandle: A function that can handle exceptions of type FormatException.
  • formatExceptionHandleModel: An explanation model for handling exceptions.

Implementation

FormatExceptionHandlerModel({
  this.formatExceptionHandle,
  this.formatExceptionHandleModel,
});