valueOf static method

MessageType valueOf(
  1. String name
)

Returns the enum value associated to the name.

Implementation

static MessageType valueOf(String name) => _$valueOfMessageType(name);