Internal
argumentReturns 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.
Internal
argumentThe choice name.
Internal
resultReturns a deocoder to decode the return value.
Readonly
templateReturns 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.