randomNumber static method

String randomNumber()

Generates a random number based on the current timestamp.

Implementation

static String randomNumber() {
  String s = DateTime.now().millisecondsSinceEpoch.toString();
  return s;
}