onClick method

void onClick()

Implementation

void onClick() {
  action?.call();
  callback?.call(this.value);
}