vyuh_diagram_codec_json 3.5.1
vyuh_diagram_codec_json: ^3.5.1 copied to clipboard
Save and load Vyuh Diagram documents as JSON in pure Dart. Round-trips shapes, text and connectors, plus content owned by installed extensions.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add vyuh_diagram_codec_jsonWith Flutter:
$ flutter pub add vyuh_diagram_codec_jsonThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
vyuh_diagram_codec_json: ^3.5.1Alternatively, 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:vyuh_diagram_codec_json/vyuh_diagram_codec_json.dart';