toBehaviorOnMXFailure method
Implementation
BehaviorOnMXFailure toBehaviorOnMXFailure() {
switch (this) {
case 'UseDefaultValue':
return BehaviorOnMXFailure.useDefaultValue;
case 'RejectMessage':
return BehaviorOnMXFailure.rejectMessage;
}
throw Exception('$this is not known in enum BehaviorOnMXFailure');
}