amount property Null safety

int amount

Implementation

int get amount => _amount;