amount property

EcrAmount? amount
final

Null for operations that carry no amount — a void takes the original's.

Nullable on the channel too: the host reads its absence as "this operation has no amount", exactly as the wire protocol reads a missing field.

Implementation

final EcrAmount? amount;