setAmount method

  1. @action
void setAmount(
  1. double value
)

Implementation

@action
void setAmount(double value) => amount = value;