We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a capability to add default values for fields. for example like this:
import 'package:sealed_annotations/sealed_annotations.dart'; part 'weather.sealed.dart'; @Sealed() abstract class _Weather { void sunny(); void rainy({int rain = 10}); void windy({@WithDefault('1e10') double velocity, double? angle = 100.0}); }
there is the question that if it should support dynamic defaults as well ?!
The text was updated successfully, but these errors were encountered:
@SaeedMasoumi
Sorry, something went wrong.
There should be ability to set default values for common fields on constructor
No branches or pull requests
Add a capability to add default values for fields.
for example like this:
there is the question that if it should support dynamic defaults as well ?!
The text was updated successfully, but these errors were encountered: