randomNumeric function
- int length,
- {AbstractRandomProvider provider: const DefaultRandomProvider()}
Generates a random string of length
with only numeric characters.
Implementation
String randomNumeric(int length,
{AbstractRandomProvider provider = const DefaultRandomProvider()}) =>
randomString(length,
from: NUMERIC_START, to: NUMERIC_END, provider: provider);