toOverwriteMode method

OverwriteMode toOverwriteMode()

Implementation

OverwriteMode toOverwriteMode() {
  switch (this) {
    case 'ALWAYS':
      return OverwriteMode.always;
    case 'NEVER':
      return OverwriteMode.never;
  }
  throw Exception('$this is not known in enum OverwriteMode');
}