ElectrumException.deserialize constructor
ElectrumException.deserialize({
- List<
int> ? bytes, - CborObject<
Object?> ? object,
Implementation
factory ElectrumException.deserialize({
List<int>? bytes,
CborObject? object,
}) {
final values = CborTagSerializable.decodeTaggedValue(
identifier: BlockchainUtilsSerializationIdentifier.electrumError,
cborBytes: bytes,
cborObject: object,
);
return ElectrumException(values.rawValueAt(0));
}