ulid 2.0.0 ulid: ^2.0.0 copied to clipboard
Lexicographically sortable, 128-bit identifier (UUID) with 48-bit timestamp and 80 random bits. Canonically encoded as a 26 character string, as opposed to the 36 character UUID.
// Copyright (c) 2017, Agilord. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
import 'package:ulid/ulid.dart';
void main() {
print(Ulid());
print(Ulid().toUuid());
}