Skip to content

Bdaya-Dev/dart-oneof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •