toConflictHandlerType method
Implementation
ConflictHandlerType toConflictHandlerType() {
switch (this) {
case 'OPTIMISTIC_CONCURRENCY':
return ConflictHandlerType.optimisticConcurrency;
case 'LAMBDA':
return ConflictHandlerType.lambda;
case 'AUTOMERGE':
return ConflictHandlerType.automerge;
case 'NONE':
return ConflictHandlerType.none;
}
throw Exception('$this is not known in enum ConflictHandlerType');
}