fromValue static method

LabelSortOrder fromValue(
  1. String value
)

Implementation

static LabelSortOrder fromValue(String value) =>
    values.firstWhere((e) => e.value == value,
        orElse: () => LabelSortOrder._(value));