AmountToString typedef

AmountToString = String Function(double amount)

A function that transforms double to String.

The build in double.toString can result in ouputs like 1.123e+24 which might be unwanted.

Implementation

typedef AmountToString = String Function(double amount);