getByValue static method

Alignment getByValue(
  1. int value
)

Implementation

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