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