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

Easy way of creating ids in dart.

example/dart_id_example.dart

import 'package:dart_id/dart_id.dart';

void main() {
  // 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);
}
6
likes
0
points
77
downloads

Publisher

unverified uploader

Weekly Downloads

Easy way of creating ids in dart.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on dart_id