solid-software / solid_lints

🟧 Lints for Dart and Flutter based on software industry standards and best practices.
Other
36 stars 17 forks source link

Allow type assertions for subclasses #123

Closed ghost closed 3 months ago

ghost commented 5 months ago

image

In the given example, SubscriptionUpdate class extends SubscriptionEvent so assertion should be necessary to define event's type

yurii-prykhodko-solid commented 3 months ago

Fixed here: https://github.com/solid-software/solid_lints/commit/8ed3f80931c0bb0778cbcb33956018bce13e1fe2