@override Map<String, dynamic> toJson([dynamic extra]) { return { "@type": CONSTRUCTOR, "name": name, "type": type.toJson(), "@extra": extra, }; }