double roundAfter(double number, int position) { final double shift = pow(10, position).toDouble(); return (number * shift).roundToDouble() / shift; }