error property Null safety

dynamic error
read / write

The original error/exception object; It's usually not null when type is DioErrorType.DEFAULT

Implementation

dynamic? error;