createRandomToken function

String createRandomToken(
  1. int size, {
  2. int base = 32,
})

Implementation

String createRandomToken(int size, {int base = 32}) {
  return randomAlphaNumeric(size).toLowerCase();
}