@override Map<String, dynamic> toJson([dynamic extra]) { return { "@type": CONSTRUCTOR, "elements": elements.map((i) => i.toJson()).toList(), }; }