decode method

  1. @override
Health decode(
  1. Input input
)
override

Implementation

@override
Health decode(Input input) {
  return Health(
    peers: U32Codec.codec.decode(input),
    isSyncing: BoolCodec.codec.decode(input),
    shouldHavePeers: BoolCodec.codec.decode(input),
  );
}