v1SmartContractInterfaceTypeFromJson function
Implementation
v1SmartContractInterfaceType v1SmartContractInterfaceTypeFromJson(dynamic value) {
switch (value) {
case 'SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM': return v1SmartContractInterfaceType.smart_contract_interface_type_ethereum;
case 'SMART_CONTRACT_INTERFACE_TYPE_SOLANA': return v1SmartContractInterfaceType.smart_contract_interface_type_solana;
default: throw ArgumentError('Unknown v1SmartContractInterfaceType: $value');
}
}