getUuidV1 static method

String getUuidV1()

获取uuid v1 基于当前时间生成的uuid 例如:6c84fb90-12c4-11e1-840d-7b25c5ee775a

Implementation

static String getUuidV1() {
  var uuid = const Uuid();
  var v1 = uuid.v1();
  return v1;
}