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