fromId static method

DeleteMessageTuple fromId(
  1. String id
)

Implementation

static DeleteMessageTuple fromId(String id) {
  return DeleteMessageTuple.values.firstWhere(
    (element) => element.id == id,
    orElse: () => unknown,
  );
}