fromID static method

UpdateMessageTuple fromID(
  1. String id
)

Implementation

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