toJson method
Implementation
Map<String, dynamic> toJson() {
final type = this.type;
final waitIntervalInSeconds = this.waitIntervalInSeconds;
final canarySize = this.canarySize;
return {
'Type': type.toValue(),
'WaitIntervalInSeconds': waitIntervalInSeconds,
if (canarySize != null) 'CanarySize': canarySize,
};
}