toMegaBytes static method

String toMegaBytes(
  1. dynamic value
)

Implementation

static String toMegaBytes(value) {
  return (double.parse(value) / 1000000).toStringAsFixed(2);
}