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