toOfflineStoreStatusValue method

OfflineStoreStatusValue toOfflineStoreStatusValue()

Implementation

OfflineStoreStatusValue toOfflineStoreStatusValue() {
  switch (this) {
    case 'Active':
      return OfflineStoreStatusValue.active;
    case 'Blocked':
      return OfflineStoreStatusValue.blocked;
    case 'Disabled':
      return OfflineStoreStatusValue.disabled;
  }
  throw Exception('$this is not known in enum OfflineStoreStatusValue');
}