toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (firstValue != null) 'firstValue': firstValue!,
if (predefinedItem != null) 'predefinedItem': predefinedItem!,
if (secondValue != null) 'secondValue': secondValue!,
};