mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-13 01:10:31 -07:00
Init repo
This commit is contained in:
commit
764b6034e3
566 changed files with 212335 additions and 0 deletions
8
lib/util/jelly_id.dart
Normal file
8
lib/util/jelly_id.dart
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// ignore: depend_on_referenced_packages
|
||||
import 'package:uuid/uuid.dart';
|
||||
|
||||
String get jellyId {
|
||||
var uuid = Uuid();
|
||||
var guid = uuid.v4().replaceAll('-', ''); // Remove hyphens
|
||||
return guid.substring(0, 32); // Take only the first 32 characters
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue