String fromNum(num number) { if (number is int) { return fromInt(number); } else if (number is double) { return fromDouble(number); } return ""; }