kletso_ui_schema 0.2.1
kletso_ui_schema: ^0.2.1 copied to clipboard
Protocol package for Kletso: JSON Schemas, hand-written Dart models and conformance fixtures for kletso.ui/v1 surfaces, kletso.events/v1 and the realtime frames.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add kletso_ui_schemaWith Flutter:
$ flutter pub add kletso_ui_schemaThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
kletso_ui_schema: ^0.2.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:kletso_ui_schema/kletso_ui_schema.dart';