mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +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>();
|
|
}
|