wasCalled property

bool get wasCalled

True if this CallOnce has already been called.

This flag does not take into account if the provided closure finished without errors, or if it finished at all.

Implementation

bool get wasCalled => _wasCalled;