Amirreza Madani

Results 19 comments of Amirreza Madani

There are some other problems ... For example in whenPartial the arguments should be nullable, but in the generated code they don't have `?` sign so they are non-null ....

And for another example when method's return type should be nullable, so we can have void functions ... Since `void` is `Object?` not `Object`

Hi, I have published several libraries for sealed generation which are very similar to super enum ... They support both legacy and null safe versions. Two of them are actually...

There is a section at the end of readme There I have discussed the versions which use super_enum API ... https://github.com/6thsolution/dart_sealed The section named: super_enum compatible API @ride4sun

Hi, in the standard generated code, we have: ``` abstract class Weather { const factory Weather.sunny() = WeatherSunny(); const factory Weather.rainy({required int rain}) = WeatherRainy; } ``` since we have...

Hi, I've checked this: ``` final g = Gregorian(2124, 3, 20); final j = g.toJalali(); print('$g == $j'); ``` this will print: ``` Gregorian(2124, 3, 20, 0, 0, 0, 0)...

if you check `time.ir` site date conversion, it says that it is correct.

the last line included in the file that you mentioned is ``` 1498* 2119-03-21 ``` so no info about 2124.

with this simple code: ```dart import 'package:shamsi_date/shamsi_date.dart'; void main() { for (int jy = 1206; jy

Thanks, OK, I will add the tests ...