memoized top-level constant Null safety

String const memoized

Memoized annotation for Built Value getters.

Getters marked with this annotation are memoized: the result is calculated once on first access and stored in the instance.

Implementation

const String memoized = 'memoized';