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