toJson method

Map<String, dynamic> toJson()

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,
  };
}