Map<String, Object?> toJson() => { 'kind': kind.name, 'path': path, 'property': ?property, 'base': ?base, 'head': ?head, };