newId property

String newId

Returns new Session ID

Implementation

static String get newId =>
    new DateTime.now().toUtc().millisecondsSinceEpoch.toString() +
    '-' +
    rand.nextInt(1 << 32).toString();