press method

void press(
  1. String id,
  2. int button
)

Holds button alone.

Implementation

void press(String id, int button) => send(id, buttons: {button});