error property
Object?
error
Returns the origin error of this exception. This value must not be null when type equals to DownloadErrorType.other, otherwise it may be null.
Implementation
Object? get error => _error;