Amirreza Madani
Amirreza Madani
Hi, Do you have any plan to release null safe version of the library ? Thanks.
Hi, I have fixed some little issues in project. I think now it will work with dart 3 without analysis issues. After merging this pr, please merge branch master onto...
Add a capability to add default values for fields. for example like this: ```dart import 'package:sealed_annotations/sealed_annotations.dart'; part 'weather.sealed.dart'; @Sealed() abstract class _Weather { void sunny(); void rainy({int rain = 10});...
Add ability to define unnamed constructor. An easy way is to provide an annotation like `@UnNamed()` or to reserve a method name like `noNamed` for this purpose. Another way is...
Add ability to use manifest class constructor for common fields. ```dart @Sealed() abstract class _ApiError { _ApiError({String message, String? code,}); void internetError(); void badRequest(); void internalError(Object? error); } ``` Complexities...
Generate copyWith method for sealed classes. We should disallow generic type change in copy with method to make life easier. For nullable types we have two approaches: For example: ```dart...