mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 14:56:20 +01:00
3 lines
110 B
Dart
3 lines
110 B
Dart
extension StreamExtension on Stream {
|
|
Stream<U> whereType<U>() => where((event) => event is U).cast<U>();
|
|
}
|