toProductSource method

ProductSource toProductSource()

Implementation

ProductSource toProductSource() {
  switch (this) {
    case 'ACCOUNT':
      return ProductSource.account;
  }
  throw Exception('$this is not known in enum ProductSource');
}