toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (backupConfigsDetails != null)
    'backupConfigsDetails': backupConfigsDetails!,
  if (backupConfigured != null) 'backupConfigured': backupConfigured!,
  if (name != null) 'name': name!,
  if (targetResource != null) 'targetResource': targetResource!,
  if (targetResourceDisplayName != null)
    'targetResourceDisplayName': targetResourceDisplayName!,
  if (targetResourceLabels != null)
    'targetResourceLabels': targetResourceLabels!,
  if (targetResourceType != null) 'targetResourceType': targetResourceType!,
  if (uid != null) 'uid': uid!,
  if (vaulted != null) 'vaulted': vaulted!,
};