toString method
Custom string output summarizing the response.
Implementation
@override
String toString() {
return 'DioResponseDetails('
'statusCode: $statusCode, '
'method: $requestMethod, '
'path: $requestPath, '
'isSuccess: $isSuccess, '
'duration: ${calculatedDuration?.inMilliseconds}ms'
')';
}