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