dartway_core_shared 0.20.0
dartway_core_shared: ^0.20.0 copied to clipboard
The shared contract of DartWay: DTO kinds, results and refusals, channels and the wire protocol spoken between a DartWay server and its clients.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dartway_core_sharedWith Flutter:
$ flutter pub add dartway_core_sharedThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dartway_core_shared: ^0.20.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:dartway_core_shared/dartway_core_shared.dart';