generateUUID static method

String generateUUID()

Implementation

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