fromJS static method

UnderlineStyle fromJS(
  1. String value
)

Implementation

static UnderlineStyle fromJS(String value) =>
    values.firstWhere((e) => e.value == value);