toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (content != null) 'content': content!,
      if (dataBundle != null) 'dataBundle': dataBundle!,
      if (experimentalPayload != null)
        'experimentalPayload': experimentalPayload!,
      if (isTestCampaign != null) 'isTestCampaign': isTestCampaign!,
      if (priority != null) 'priority': priority!,
      if (triggeringConditions != null)
        'triggeringConditions': triggeringConditions!,
      if (vanillaPayload != null) 'vanillaPayload': vanillaPayload!,
    };