core.Map<core.String, core.dynamic> toJson() { final id = this.id; final neighbors = this.neighbors; return {'id': ?id, 'neighbors': ?neighbors}; }