generateToken static method

String generateToken(
  1. int min_data,
  2. int max_data
)

Implementation

static String generateToken(int min_data, int max_data) {
  return generateUuid(
    generateRandomNumber(min_data, max_data),
    text: "abcdefghijklmnopqrstuvwxyz0123456789-_",
    // text: "abcdefghijklmnopqrstuvwxyz0123456789!@#\$%^&*()_+{}|:<>?,./;\\'[]\\-=",
  );
}