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