dart_stream 0.0.1 copy "dart_stream: ^0.0.1" to clipboard
dart_stream: ^0.0.1 copied to clipboard

outdated

A collection util inspired by java stream.

Dart Stream #

A collection util inspired by java streams

GitHub License

Show Case #

loading

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());
}

Todo List #

  • : shuffle
  • : reverse
  • : takeWhile
  • : dropWhile

License #

The MIT License, see LICENSE.

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A collection util inspired by java stream.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on dart_stream