HDNodeType.decode constructor

HDNodeType.decode(
  1. ProtoFields f
)

Implementation

factory HDNodeType.decode(ProtoFields f) => HDNodeType(
  depth: f.uint(1) ?? 0,
  fingerprint: f.uint(2) ?? 0,
  childNum: f.uint(3) ?? 0,
  chainCode: f.bytes(4) ?? Uint8List(0),
  publicKey: f.bytes(6) ?? Uint8List(0),
);