diff --git a/lib/src/generators.dart b/lib/src/generators.dart index 219498e..c30907b 100644 --- a/lib/src/generators.dart +++ b/lib/src/generators.dart @@ -6,7 +6,9 @@ library uuid_type.generators; import 'dart:convert' show utf8; import 'dart:math' show Random; import 'dart:typed_data' show Uint8List, UnmodifiableUint8ListView; + import 'package:crypto/crypto.dart' show sha1; + import 'uuid.dart'; /// Generator of time-based v1 UUIDs @@ -127,8 +129,6 @@ class TimeUuidGenerator { /// Returns Node ID for this generator UnmodifiableUint8ListView get nodeId => UnmodifiableUint8ListView(_nodeId); - static int get zero => _zeroMs; - /// Generates UUID for current time Uuid generate() { final elapsedIntervals = _sw.elapsedTicks ~/ _ticksPerInterval;