toMessageType method
Implementation
MessageType toMessageType() {
switch (this) {
case 'RAW':
return MessageType.raw;
case 'DIGEST':
return MessageType.digest;
}
throw Exception('$this is not known in enum MessageType');
}
MessageType toMessageType() {
switch (this) {
case 'RAW':
return MessageType.raw;
case 'DIGEST':
return MessageType.digest;
}
throw Exception('$this is not known in enum MessageType');
}