sealed_annotations 1.9.0 copy "sealed_annotations: ^1.9.0" to clipboard
sealed_annotations: ^1.9.0 copied to clipboard

outdated

Dart and Flutter sealed or union class generator and annotations, with match methods and other utilities.

1.9.0 #

  • Changed not using required on nullable fields and arguments

1.8.0 #

  • Changed using any for external dependencies

1.7.0 #

  • Removed @immutable, @factory and @sealed generation
  • Removed meta export from sealed_annotations
  • Added support for functional types as field types

1.6.0 #

  • Changed cast methods to getters
  • Downgrade meta to 1.3.0

1.5.0 #

  • Removed support for super_enum API
  • Removed support for non null-safe projects
  • Removed whenOrThrow, whenOrNull and whenOrDefault
  • Removed wrapping functionality
  • Rename whenOrElse to maybeWhen
  • Rename whenPartial to partialWhen
  • Refactor partialWhen implementation
  • Added map, maybeMap and partialMap methods

1.4.0 #

  • Fix version problems

1.3.0 #

  • Using const factories
  • Updated analyzer to 2.0.0

1.2.0 #

  • Using factory instead of static methods
  • Disabled copy method generation

1.1.0 #

  • Decoupled super_enum APIs from dart_sealed

1.0.0 #

  • Initial version
13
likes
0
pub points
76%
popularity

Publisher

verified publisher6thsolution.com

Dart and Flutter sealed or union class generator and annotations, with match methods and other utilities.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

equatable, meta

More

Packages that depend on sealed_annotations