lockRelease static method
void
lockRelease(})
Perform a lock release
The lockRelease method will call the function provided in perform
and then block the function from being called again until it has finished.
Implementation
static void lockRelease(
dynamic state,
String name, {
required Function perform,
bool shouldSetState = true,
}) {
_updateState(_findStateName(state), "lock-release", {
"name": name,
"perform": perform,
"shouldSetState": shouldSetState,
});
}