flutter_snowflake
SnowFlake id generator, inspired by Twitter. For more details, you can read the following doc: Twitter IDs
🐱 Usage
Add dependency
dependencies:
flutter_snowflake: ^0.0.4
Generate id
final int id = Snowflake(2, 3).getId();
SnowFlake id generator, inspired by Twitter. For more details, you can read the following doc: Twitter IDs
dependencies:
flutter_snowflake: ^0.0.4
final int id = Snowflake(2, 3).getId();