toMergeOptionTypeEnum method

MergeOptionTypeEnum toMergeOptionTypeEnum()

Implementation

MergeOptionTypeEnum toMergeOptionTypeEnum() {
  switch (this) {
    case 'FAST_FORWARD_MERGE':
      return MergeOptionTypeEnum.fastForwardMerge;
    case 'SQUASH_MERGE':
      return MergeOptionTypeEnum.squashMerge;
    case 'THREE_WAY_MERGE':
      return MergeOptionTypeEnum.threeWayMerge;
  }
  throw Exception('$this is not known in enum MergeOptionTypeEnum');
}