getByValue static method

CameraBehaviourChangeReason getByValue(
  1. int value
)

Implementation

static CameraBehaviourChangeReason getByValue(int value) {
  return CameraBehaviourChangeReason.values.firstWhere((x) => x.rawValue == value);
}