toAddOnType method

AddOnType toAddOnType()

Implementation

AddOnType toAddOnType() {
  switch (this) {
    case 'AutoSnapshot':
      return AddOnType.autoSnapshot;
  }
  throw Exception('$this is not known in enum AddOnType');
}