dart equivalent to C#'s OneOf
This package was created to help implement polymorphism into the dart-dio openapi-generator
It consists of
one_of: the main package which provides the base logic foranyOfandoneOfimplmentations,one_of_serializer: abuilt_valueserializer.
You can introduce any new serializer you like in a separate package that depends on one_of.
The base classes you would need to implement are OneOf and AnyOf.