snowflake 0.0.1

Dart native js
Flutter Android iOS web

snowflake for Dart.

example/snowflake_example.dart

import 'package:snowflake/snowflake.dart';

main() {
  var cfg = config(1, 2, 1288834974657);

  var worker = idWorker(cfg);
  print(worker.generate());
}