getByValue static method

AnimationMode getByValue(
  1. int value
)

Implementation

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