fromValue static method

CanvasTextAlign fromValue(
  1. String value
)

Implementation

static CanvasTextAlign fromValue(String value) =>
    values.firstWhere((e) => e.value == value);