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