toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (assignedVolumeCount != null)
        'assignedVolumeCount': assignedVolumeCount!,
      if (createTime != null) 'createTime': createTime!,
      if (dailyBackupLimit != null) 'dailyBackupLimit': dailyBackupLimit!,
      if (description != null) 'description': description!,
      if (enabled != null) 'enabled': enabled!,
      if (labels != null) 'labels': labels!,
      if (monthlyBackupLimit != null)
        'monthlyBackupLimit': monthlyBackupLimit!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (weeklyBackupLimit != null) 'weeklyBackupLimit': weeklyBackupLimit!,
    };