fromId static method

UpdateMessageTuple fromId(
  1. String id
)

Implementation

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