toGenerateFallbackStrategy method

GenerateFallbackStrategy toGenerateFallbackStrategy()

Implementation

GenerateFallbackStrategy toGenerateFallbackStrategy() {
  switch (this) {
    case FallbackStrategy.none:
      return GenerateFallbackStrategy.none;
    case FallbackStrategy.baseLocale:
      return GenerateFallbackStrategy.baseLocale;
    case FallbackStrategy.baseLocaleEmptyString:
      return GenerateFallbackStrategy.baseLocale;
  }
}