core.Map<core.String, core.dynamic> toJson() => { if (attributeValue != null) 'attributeValue': attributeValue!, if (boostAmount != null) 'boostAmount': boostAmount!, };