toRecipeProvider method

RecipeProvider toRecipeProvider()

Implementation

RecipeProvider toRecipeProvider() {
  switch (this) {
    case 'SERVICE':
      return RecipeProvider.service;
  }
  throw Exception('$this is not known in enum RecipeProvider');
}