fromNum method

String fromNum(
  1. num number
)

Implementation

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