toPutMode method
Implementation
PutMode toPutMode() {
switch (this) {
case 'merge':
return PutMode.merge;
case 'overwrite':
return PutMode.overwrite;
}
throw Exception('$this is not known in enum PutMode');
}
PutMode toPutMode() {
switch (this) {
case 'merge':
return PutMode.merge;
case 'overwrite':
return PutMode.overwrite;
}
throw Exception('$this is not known in enum PutMode');
}