toPutMode method

PutMode toPutMode()

Implementation

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