getByValue static method

ZoomControlButton getByValue(
  1. int value
)

Implementation

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