@override Object toJson() => { if (kind.isNotDefault) 'kind': kind, if (path.isNotDefault) 'path': path, };