Amount constructor

Amount({
  1. required num quantity,
  2. required dynamic unit,
})

Implementation

Amount({required this.quantity, required this.unit});