powerd6 0.0.1 powerd6: ^0.0.1 copied to clipboard
A collection of models to support the powerd6 ruleset.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add powerd6
With Flutter:
$ flutter pub add powerd6
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
powerd6: ^0.0.1
Alternatively, 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:powerd6/models.dart';
import 'package:powerd6/models/attribute.dart';
import 'package:powerd6/models/attribute_values.dart';
import 'package:powerd6/models/character.dart';
import 'package:powerd6/models/currency.dart';
import 'package:powerd6/models/focus.dart';
import 'package:powerd6/models/health_points.dart';
import 'package:powerd6/models/inventory.dart';
import 'package:powerd6/models/item.dart';
import 'package:powerd6/models/paragraph.dart';
import 'package:powerd6/models/species.dart';
import 'package:powerd6/models/spell.dart';