core.Map<core.String, core.dynamic> toJson() => { if (newVolumeId != null) 'newVolumeId': newVolumeId!, };