dart_id 1.1.0 copy "dart_id: ^1.1.0" to clipboard
dart_id: ^1.1.0 copied to clipboard

Easy way of creating ids in dart.

Dart ID #

this is a fast way to create ids with data inside them about when they are created

How to use #

  // all these parameters are optional
  String id = DartID().generate(
    idLength: 20,
    allowCapitalLetters: true,
    allowNumbers: true,
    allowSmallLetters: true,
    allowSymbols: false,
    swapParts: true,
  );
  print(id);

  DateTime createdAt = DartID().parseId(id);
  print(createdAt);

As easy as that #

6
likes
140
points
77
downloads

Publisher

unverified uploader

Weekly Downloads

Easy way of creating ids in dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on dart_id