toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (campaignEndTimeMillis != null)
        'campaignEndTimeMillis': campaignEndTimeMillis!,
      if (campaignId != null) 'campaignId': campaignId!,
      if (campaignName != null) 'campaignName': campaignName!,
      if (campaignStartTimeMillis != null)
        'campaignStartTimeMillis': campaignStartTimeMillis!,
      if (experimentPayload != null) 'experimentPayload': experimentPayload!,
    };