toTransferable method

Transferable toTransferable()

Implementation

Transferable toTransferable() {
  switch (this) {
    case 'TRANSFERABLE':
      return Transferable.transferable;
    case 'UNTRANSFERABLE':
      return Transferable.untransferable;
    case 'DONT_KNOW':
      return Transferable.dontKnow;
  }
  throw Exception('$this is not known in enum Transferable');
}