unique_id_dart 1.0.0 copy "unique_id_dart: ^1.0.0" to clipboard
unique_id_dart: ^1.0.0 copied to clipboard

Generate unique IDs in Dart using Snowflake or UUID v4.

example/unique_id_dart_example.dart

import 'package:unique_id_dart/unique_id_dart.dart';

void main() {
  String shortId = uniqueId();
  print('Generated Unique ID: $shortId');

  String longId = uniqueId(shorter: false);
  print('Generated Long Unique ID: $longId');
}
0
likes
160
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Generate unique IDs in Dart using Snowflake or UUID v4.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

snowflaker, uuid

More

Packages that depend on unique_id_dart