buildPayloadAs<V> method
Payload build with Id, pass Header reference typed with user input values, directly accepting struct would miss deriving meta
Implementation
// full context is PacketId<V, dynamic> packetId, V requestArgs, TypedData buffer
PayloadMeta buildPayloadAs<V>(PayloadCaster<V> caster, V values) => caster(payload).build(values, this);