requiresApproval property

bool get requiresApproval

Whether this mode requires user approval.

Implementation

bool get requiresApproval {
  return switch (this) {
    ExecutionMode.automatic => false,
    ExecutionMode.manual => true,
    ExecutionMode.interactive => true,
  };
}