newId function

String newId({
  1. String prefix = "auto",
})

Implementation

String newId({String prefix = "auto"}) =>
    "$prefix${const Uuid().v4().replaceAll("-", "").toLowerCase()}";