Logic.fromInt constructor

Logic.fromInt(
  1. num i
)

Implementation

factory Logic.fromInt(num i) => Logic.values.firstWhere((x) => x.value == i);