error property

dynamic error
getter/setter pair

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

Implementation

dynamic error;