@override Object toJson() => { if (id.isNotDefault) 'id': id, if (neighbors.isNotDefault) 'neighbors': encodeList(neighbors), };