fromID static method

DeleteMessageTuple fromID(
  1. String id
)

Implementation

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