getByValue static method

TextPlacement getByValue(
  1. int value
)

Implementation

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