is_content_id 0.2.0
is_content_id: ^0.2.0 copied to clipboard
Content addresses: names made by hashing bytes with sha256, as types, and the sha256 they are made with. No dependencies, and no dart:io.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add is_content_idWith Flutter:
$ flutter pub add is_content_idThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
is_content_id: ^0.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:is_content_id/is_content_id.dart';