serializableErrors property
Whether errors should be serializable.
Must be set to true
when the errors should be able to be sent
across isolate boundaries.
In particular, setting this to true causes the FormData of
dio.RequestOptions
of dio.DioError
to be stripped out from thrown Exceptions, along with
other potentially non-serializable fields like callbacks or the cancel token.
Implementation
final bool serializableErrors;