removeDecimalZeroWithSingleDecimal method
Implementation
String removeDecimalZeroWithSingleDecimal() => this % 1 == 0 ? toInt().toString() : toStringAsFixed(1);
String removeDecimalZeroWithSingleDecimal() => this % 1 == 0 ? toInt().toString() : toStringAsFixed(1);