toEnvironmentInfoType method

EnvironmentInfoType toEnvironmentInfoType()

Implementation

EnvironmentInfoType toEnvironmentInfoType() {
  switch (this) {
    case 'tail':
      return EnvironmentInfoType.tail;
    case 'bundle':
      return EnvironmentInfoType.bundle;
  }
  throw Exception('$this is not known in enum EnvironmentInfoType');
}