borsh_annotation 0.3.1+1 borsh_annotation: ^0.3.1+1 copied to clipboard
Annotation used to make a Dart object borsh serializable.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add borsh_annotation
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
borsh_annotation: ^0.3.1+1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:borsh_annotation/borsh_annotation.dart';