torch_state.dart 230 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 /// The state of the flashlight. enum TorchState { /// The flashlight is off. off(0), /// The flashlight is on. on(1); const TorchState(this.rawValue); /// The raw value for the torch state. final int rawValue; }