whereType<U> method
Filters elements of a specific type T
.
Implementation
Iterable<T> whereType<U>() => where((element) => element is U).cast<T>();
Filters elements of a specific type T
.
Iterable<T> whereType<U>() => where((element) => element is U).cast<T>();