toJson method
Implementation
Map<String, dynamic> toJson() {
final percentTraffic = this.percentTraffic;
final stageVariableOverrides = this.stageVariableOverrides;
final useStageCache = this.useStageCache;
return {
if (percentTraffic != null) 'percentTraffic': percentTraffic,
if (stageVariableOverrides != null)
'stageVariableOverrides': stageVariableOverrides,
if (useStageCache != null) 'useStageCache': useStageCache,
};
}