getFormatExceptionHandler method

bool? Function(FormatException exception)? getFormatExceptionHandler({
  1. required FormatExceptionHandlerModel? exceptionHandlers,
})

Retrieves the JSON Format exception handling function for FormatException.

  • exceptionHandlers contains a set of custom JSON Format exception handling functions.

Returns a function to handle FormatException.

Implementation

bool? Function(FormatException exception)? getFormatExceptionHandler({
  required FormatExceptionHandlerModel? exceptionHandlers,
}) {
  return exceptionHandlers?.formatExceptionHandle;
}