decode method

  1. @override
bool decode(
  1. ByteBuffer buffer
)
override

Implementation

@override
bool decode(ByteBuffer buffer) {
  return buffer.asByteData().getUint8(0) == 1;
}