disable method

void disable()

A method to disable the button.

Implementation

void disable() => _jsObject.disable();