toJson method
Serialise back to the wire-shape ("auto"
or an object).
Implementation
@override
Map<String, dynamic> toJson() => {
if (workflowName != null) 'workflow_name': workflowName,
if (groupId != null) 'group_id': groupId,
if (metadata != null) 'metadata': metadata,
};