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