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