You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
custom_lint:
rules:
- avoid_using_api:
severity: infoentries:
- class_name: FutureIterable<T> // but also FutureIterable<dynamic, FutureIterable, Iterable, Iterable<Future>, Iterable<Future<dynamic>>, Iterable<Future<T>>identifier: waitsource: dart:asyncreason: "Iterable.wait should be avoided because it loses type safety for the results. Use a Record's `wait` method instead."severity: warning
but to no success. Without specifiying the class_name works but does match the (f1,f2).wait getter method I don't want to match.
The text was updated successfully, but these errors were encountered:
I want to prohobit the usage of
Iterable<Future<T>>
'swait
getter, but can't seem to find a way to match it. Here is the definition in dart:async:I tried:
but to no success. Without specifiying the
class_name
works but does match the(f1,f2).wait
getter method I don't want to match.The text was updated successfully, but these errors were encountered: