@override Object toJson() => { if (id.isNotDefault) 'id': id, if (neighbors.isNotDefault) 'neighbors': [for (final i in neighbors) i.toJson()], };