toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (currentBytes != null) 'currentBytes': currentBytes!,
  if (customData != null) 'customData': customData!,
  if (diffObjectVersion != null) 'diffObjectVersion': diffObjectVersion!,
  if (finalStatus != null) 'finalStatus': finalStatus!,
  if (notificationType != null) 'notificationType': notificationType!,
  if (physicalHeaders != null) 'physicalHeaders': physicalHeaders!,
  if (requestId != null) 'requestId': requestId!,
  if (requestReceivedParamsServingInfo != null)
    'requestReceivedParamsServingInfo': requestReceivedParamsServingInfo!,
  if (totalBytes != null) 'totalBytes': totalBytes!,
  if (totalBytesIsEstimated != null)
    'totalBytesIsEstimated': totalBytesIsEstimated!,
};