JsonExceptionHandlerModel constructor
JsonExceptionHandlerModel({
- bool? jsonParseHandle(
- JsonUnsupportedObjectError exception
- ExceptionExplanationModel? jsonParseHandleModel,
Creates a JsonExceptionHandlerModel instance.
jsonParseHandle
: A function that can handle exceptions of type JsonUnsupportedObjectError.jsonParseHandleModel
: An explanation model for handling exceptions.
Implementation
JsonExceptionHandlerModel({
this.jsonParseHandle,
this.jsonParseHandleModel,
});