fromValue static method

AttachmentSortOrder fromValue(
  1. String value
)

Implementation

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