toBehaviorOnMxFailure method
Implementation
BehaviorOnMxFailure toBehaviorOnMxFailure() {
switch (this) {
case 'USE_DEFAULT_VALUE':
return BehaviorOnMxFailure.useDefaultValue;
case 'REJECT_MESSAGE':
return BehaviorOnMxFailure.rejectMessage;
}
throw Exception('$this is not known in enum BehaviorOnMxFailure');
}