We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c00e01 commit c1f3665Copy full SHA for c1f3665
lib/src/generators.dart
@@ -6,7 +6,9 @@ library uuid_type.generators;
6
import 'dart:convert' show utf8;
7
import 'dart:math' show Random;
8
import 'dart:typed_data' show Uint8List, UnmodifiableUint8ListView;
9
+
10
import 'package:crypto/crypto.dart' show sha1;
11
12
import 'uuid.dart';
13
14
/// Generator of time-based v1 UUIDs
@@ -127,8 +129,6 @@ class TimeUuidGenerator {
127
129
/// Returns Node ID for this generator
128
130
UnmodifiableUint8ListView get nodeId => UnmodifiableUint8ListView(_nodeId);
131
- static int get zero => _zeroMs;
-
132
/// Generates UUID for current time
133
Uuid generate() {
134
final elapsedIntervals = _sw.elapsedTicks ~/ _ticksPerInterval;
0 commit comments