3 ms·
Thanks, I appreciate the explanation a lot! I find losing the type hints because I am forced to type something as "dynamic" is a bummer, I hope exhaustive patte
by Alifatisk 2y ago
Thanks, I appreciate the explanation a lot! I find losing the type hints because I am forced to type something as "dynamic" is a bummer, I hope exhaustive pattern matching solves cases like these: https://github.com/pocketbase/dart-sdk/blob/master/lib/src/auth_store.dart#L9 https://github.com/pocketbase/dart-sdk/blob/master/lib/src/a...
Related issue: https://github.com/dart-lang/language/issues/83 https://github.com/dart-lang/language/issues/83