toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final targetGroupStickinessConfig = this.targetGroupStickinessConfig;
  final targetGroups = this.targetGroups;
  return {
    if (targetGroupStickinessConfig != null)
      'TargetGroupStickinessConfig': targetGroupStickinessConfig,
    if (targetGroups != null) 'TargetGroups': targetGroups,
  };
}