generateUUID static method

String generateUUID()

Implementation

static String generateUUID() {
  var uuid = Uuid().v4();
  // .toLowerCase() here flattens concatenated strings to save heap memory space.
  return uuid.toLowerCase();
}