Skip to content

noncheat/dart-oneof

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 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

 
 
 

Contributors

Languages

  • Dart 99.9%
  • PowerShell 0.1%