toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (consentDeadlineTime != null)
'consentDeadlineTime': consentDeadlineTime!,
if (newPrice != null) 'newPrice': newPrice!,
if (state != null) 'state': state!,
};