yes method

void yes(
  1. VoidCallback callback
)

Implementation

void yes(VoidCallback callback) {
  if (this) {
    return callback.call();
  }
}