@override Map<String, dynamic> toJson() => <String, dynamic>{ 'trait_type': traitType, 'value': value, '@type': constructor, };