lazy_evaluation 0.0.6+3
lazy_evaluation: ^0.0.6+3

Dart native js
Flutter Android iOS web

A simple package to cache and lazily evaluate objects that have a expensive 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 initialized');
  print(myLazyString.value); // alternatively, you can use myLazyString() instead of myLazyString.value
}
3
likes
110
pub points
77%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

73azim@gmail.com

License

BSD (LICENSE)

More

Packages that depend on lazy_evaluation