base64_url_safe_uuid 1.0.1 base64_url_safe_uuid: ^1.0.1 copied to clipboard
A library for generating v4 UUIDs and encoding them into 22 character base64 URL-safe slug representation (based on RFC4648 sec5).
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add base64_url_safe_uuid
With Flutter:
$ flutter pub add base64_url_safe_uuid
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
base64_url_safe_uuid: ^1.0.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:base64_url_safe_uuid/base64_url_safe_uuid.dart';