isFirstBuild method

bool isFirstBuild()

Returns true on the first build and false on subsequent builds.

Useful for a capsule wishing to read its own current data, as capsules cannot read their own data on their first build (as it won't exist yet).

Implementation

bool isFirstBuild() => use.previous(false) ?? true;