toJson method
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'node_id': nodeID,
'project_id': projectID,
'trigger': trigger.toString(),
'properties': properties,
'created_at': createdAt.toIso8601String(),
};