toConflictDetectionType method

ConflictDetectionType toConflictDetectionType()

Implementation

ConflictDetectionType toConflictDetectionType() {
  switch (this) {
    case 'VERSION':
      return ConflictDetectionType.version;
    case 'NONE':
      return ConflictDetectionType.none;
  }
  throw Exception('$this is not known in enum ConflictDetectionType');
}