getByValue static method

CameraFollowState getByValue(
  1. int value
)

Implementation

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