Install dart-uuid via pubspec
mainTo use dart-uuid in your project, add it to your pubspec.yaml dependencies. After adding the entry, run pub get (or pub install) to download the package.
Note: Version 4.x.x is a complete redesign but maintains API compatibility with 3.x.
dependencies:
uuid: ^4.6.0