stringNumeric method

String stringNumeric(
  1. int length
)

Generate random string by numeric.

Implementation

String stringNumeric(int length) {
  const chars = "1234567890";

  return string(chars, length);
}