const factory SerdeType.union( String discriminator, Map<String, SerdeType> variants, ) = SerdeTypeUnion._;