getByValue static method

TUICheckBoxState getByValue(
  1. num i
)

Implementation

static TUICheckBoxState getByValue(num i) {
  return TUICheckBoxState.values.firstWhere((x) => x.value == i);
}