lazy top-level constant

_Lazy const lazy

Denotes that the annotated element is lazy.

final list = [1, 2, 3];
@lazy final iterable = list.map((e) => e.toString());

Implementation

const lazy = _Lazy();