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