getJsonExceptionHandler method

bool? Function(JsonUnsupportedObjectError exception)? getJsonExceptionHandler({
  1. required JsonExceptionHandlerModel? exceptionHandlers,
})

Retrieves the JSON exception handling function for JsonUnsupportedObjectError.

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

Returns a function to handle JsonUnsupportedObjectError.

Implementation

bool? Function(JsonUnsupportedObjectError exception)?
    getJsonExceptionHandler({
  required JsonExceptionHandlerModel? exceptionHandlers,
}) {
  return exceptionHandlers?.jsonParseHandle;
}