fromWire static method

OnOff fromWire(
  1. String wire
)

Implementation

static OnOff fromWire(String wire) => OnOff.values.byName(wire);