isAvailable property

bool? isAvailable
getter/setter pair

Controlling whether the button is active or disabled.

The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.

Implementation

core.bool? isAvailable;