Skip to content

About

OneOf inspired from https://github.com/mcintyre321/oneof

Resources

Stars

1 star

Watchers

3 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

OneOf/AnyOf

About

dart equivalent to C#'s OneOf

This package was created to help implement polymorphism into the dart-dio openapi-generator

It consists of

  1. one_of: the main package which provides the base logic for anyOf and oneOf implmentations,
  2. one_of_serializer: a built_value serializer.

Contribution

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.

About

OneOf inspired from https://github.com/mcintyre321/oneof

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages