toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (condition != null) 'condition': condition!,
if (destinationPhase != null) 'destinationPhase': destinationPhase!,
if (destinationTargetId != null)
'destinationTargetId': destinationTargetId!,
if (id != null) 'id': id!,
if (wait != null) 'wait': wait!,
};