ulid 1.0.4 ulid: ^1.0.4 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(new Ulid());
print(new Ulid().toUuid());
}