decodeHandoffAck method
Implementation
RitoBackgroundHandoffAck decodeHandoffAck(Uint8List bytes) {
final reader = openRitoWireMessage(
bytes,
magic: 'RITOHOA1',
label: 'background handoff ack',
exactBytes: handoffAckWireBytes,
);
final ack = RitoBackgroundHandoffAck(
intentRequestId: reader.externalId('intent request id'),
replacedArtifactId: reader.externalId('replaced artifact id'),
visibleArtifactId: reader.externalId('visible artifact id'),
);
reader.finish('background handoff ack wire message');
return ack;
}