format method

String format(
  1. double value
)

Implementation

String format(double value) => value.toStringAsFixed(decimalPlaces);