fromValue static method

CanvasLineCap fromValue(
  1. String value
)

Implementation

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