toBatchStrategy method
Implementation
BatchStrategy toBatchStrategy() {
switch (this) {
case 'MultiRecord':
return BatchStrategy.multiRecord;
case 'SingleRecord':
return BatchStrategy.singleRecord;
}
throw Exception('$this is not known in enum BatchStrategy');
}