Dart Stream
A collection util inspired by java streams
Show Case
Example
import 'package:dart_stream/dart_stream.dart';
void main() {
print(DartStream.of([1, 2, 3]).map((t) => t - 1).allMatch((t) => t > 0));
print([1, 2, 3].toStream().map((t) => t - 1).toList());
}
Pub.dev
flutter pub add dart_stream
Todo List
x
: shufflex
: reversex
: takeWhilex
: dropWhile
See Also
License
The MIT License, see LICENSE.