InternalargumentReturns a decoder to decode the choice arguments.
Note: we never need to decode the choice arguments, as they are sent over the API but not received.
InternalargumentThe choice name.
InternalresultReturns a deocoder to decode the return value.
ReadonlytemplateReturns the template to which this choice belongs.
Interface for objects representing Daml choices.
Typeparam
T The template type.
Typeparam
K The contract key type.
Typeparam
C The choice type.
Typeparam
R The choice return type.