toChannelMessagePersistenceType method
Implementation
ChannelMessagePersistenceType toChannelMessagePersistenceType() {
switch (this) {
case 'PERSISTENT':
return ChannelMessagePersistenceType.persistent;
case 'NON_PERSISTENT':
return ChannelMessagePersistenceType.nonPersistent;
}
throw Exception('$this is not known in enum ChannelMessagePersistenceType');
}