toFramework method

Framework toFramework()

Implementation

Framework toFramework() {
  switch (this) {
    case 'HYPERLEDGER_FABRIC':
      return Framework.hyperledgerFabric;
    case 'ETHEREUM':
      return Framework.ethereum;
  }
  throw Exception('$this is not known in enum Framework');
}