DecodedMutation

class DecodedMutation<B : Any>(val endpoint: NetworkEndpoint, val body: B?, val bodyType: TypeInfo?)

The endpoint + body pair a MutationCodec reconstructs from a persisted payload. Distinct from QueuedMutation because it carries no MutationRecord.id/MutationRecord.key — those live on the record itself and are reattached by MutationQueue after decoding.

Constructors

Link copied to clipboard
constructor(endpoint: NetworkEndpoint, body: B?, bodyType: TypeInfo?)

Properties

Link copied to clipboard
val body: B?
Link copied to clipboard
val bodyType: TypeInfo?
Link copied to clipboard