toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (backupId != null) 'backupId': backupId!,
  if (consistencyTime != null) 'consistencyTime': consistencyTime!,
  if (description != null) 'description': description!,
  if (recoveryRangeEndTime != null)
    'recoveryRangeEndTime': recoveryRangeEndTime!,
  if (recoveryRangeStartTime != null)
    'recoveryRangeStartTime': recoveryRangeStartTime!,
  if (requestId != null) 'requestId': requestId!,
  if (retentionDuration != null) 'retentionDuration': retentionDuration!,
};