toRelativeFileVersionEnum method

RelativeFileVersionEnum toRelativeFileVersionEnum()

Implementation

RelativeFileVersionEnum toRelativeFileVersionEnum() {
  switch (this) {
    case 'BEFORE':
      return RelativeFileVersionEnum.before;
    case 'AFTER':
      return RelativeFileVersionEnum.after;
  }
  throw Exception('$this is not known in enum RelativeFileVersionEnum');
}