formatTotal method

String formatTotal({
  1. int precision = 8,
})

Returns a formatted string of the total fee with the coin symbol e.g. "0.001 ETH"

Implementation

String formatTotal({int precision = 8}) {
  final total = totalFee;
  return '${_formatNumber(total, precision: precision)} $coin';
}