lazy_evaluation 0.0.5+2 copy "lazy_evaluation: ^0.0.5+2" to clipboard
lazy_evaluation: ^0.0.5+2 copied to clipboard

outdated

A simple package to cache and lazily evaluate objects that have a costly initialization process.

Lazy Evaluation #

A simple package to cache and lazily evaluate objects that have a costly initialization process.

Usage #

import 'package:lazy_evaluation/lazy_evaluation.dart';

main() {
  var myLazyString = Lazy<String>(() => 'this is lazily evaluated');
  print(myLazyString.value); // alternatively, you can use myLazyString() instead of myLazyString.value
}
8
likes
0
pub points
72%
popularity

Publisher

unverified uploader

A simple package to cache and lazily evaluate objects that have a costly initialization process.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on lazy_evaluation