lazy_memo 0.0.3-nullsafety lazy_memo: ^0.0.3-nullsafety copied to clipboard
Helper classes for defining lazy variables and memoized functions. Null-safety must be enabled to use this package.
Lazy Memo - Example #
The file lazy_example.dart
(see folder bin) contains a short program that demonstrates how to
define and use lazy variables.
The program can be run in a terminal by navigating to the
folder lazy/example
in your local copy of this library and using the command:
$ dart --enable-experiment=non-nullable bin/lazy_example.dart
The file memoized_function_example.dart
(see folder bin) contains a short program that demonstrates how to
define and use lazy (memoized) functions.
The program can be run in a terminal by navigating to the
folder lazy/example
in your local copy of this library and using the command:
$ dart --enable-experiment=non-nullable bin/memoized_function_example.dart
Features and bugs #
Please file feature requests and bugs at the issue tracker.