toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (function != null) 'function': function!,
if (interaction != null) 'interaction': interaction!,
if (loadIndicator != null) 'loadIndicator': loadIndicator!,
if (parameters != null) 'parameters': parameters!,
if (persistValues != null) 'persistValues': persistValues!,
};