dart_patterns 0.3.1 copy "dart_patterns: ^0.3.1" to clipboard
dart_patterns: ^0.3.1 copied to clipboard

Collection of useful patterns for Dart

0.3.1 #

  • Better hierarchy.

0.3.0 #

  • Seal LateAsyncResult for better exhaustiveness checking.

0.2.1 #

  • Drop constructors for base classes for better analyzer fix.

0.2.0 #

  • Added Late, Async, and LateAsync.
  • Results are constructed with factory constructors.
  • Added Result.guard(fn)
  • Added LateResult.fromStream(stream)
  • Added AsyncResult.asStream(fn)

0.1.0 #

Initial release