Database and Data Model for Star Wars: Legion.

This package is written and maintained in Dart for maintainability. Future versions will have JSON-formatted build artifacts as well for use within other systems.

Star Wars, Star Wars: Legion and all related properties and text are owned by Fantasy Flight Games, Lucasfilm Ltd., and/or Disney.


This package provides 2 libraries: database.dart and swlegion.dart. Library database is a (best effort) collection of all known units (Unit) and weapons (Weapon) in the game, and other models that may change over time.

Library swlegion.dart is just the data models, with the idea that they are used to create database.dart. In future versions, data may be exported to an API and/or JSON, and the data models should be used to access the data once deserialized.