toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (currentState != null) 'currentState': currentState!,
if (definitionId != null) 'definitionId': definitionId!,
if (kind != null) 'kind': kind!,
if (updateOccurred != null) 'updateOccurred': updateOccurred!,
};