fromBool static method

int fromBool(
  1. bool v
)

Implementation

static int fromBool(bool v) => v ? yes : no;