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