toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'requestUrl': requestUrl,
    if (netError != null) 'netError': netError,
    if (responseError != null) 'responseError': responseError,
    if (responseErrorBody != null) 'responseErrorBody': responseErrorBody,
  };
}