toFollowPoint method

FollowPoint toFollowPoint()

Implementation

FollowPoint toFollowPoint() {
  switch (this) {
    case 'END':
      return FollowPoint.end;
    case 'START':
      return FollowPoint.start;
  }
  throw Exception('$this is not known in enum FollowPoint');
}