fromString static method

Implementation

static ConfigLocationManagerActivityType? fromString(String value) {
  switch (value) {
    case 'automotiveNavigation':
      return ConfigLocationManagerActivityType.automotiveNavigation;
    case 'fitness':
      return ConfigLocationManagerActivityType.fitness;
    case 'otherNavigation':
      return ConfigLocationManagerActivityType.otherNavigation;
    case 'airborne':
      return ConfigLocationManagerActivityType.airborne;
    case 'other':
      return ConfigLocationManagerActivityType.other;
  }
  return null;
}