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