toWeightString static method

String toWeightString(
  1. int weight
)

Implementation

static String toWeightString(int weight) => (weight / 1000).toStringAsFixed(2);