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