Wings Data Model
This is a shared package between the Wings App and Wings HCP Dashboard. It contains code that is used by both applications, focusing on backend interaction:
- Repositories
- Blocs
- Minor shared code elements
Publishing the package
Place a tag in the form of v1.2.3 to a git commit publish version 1.2.3 of the package. Once the tag is pushed, an action will run to publish the package.
Retrieving the package
The published package is hosted at Cloudsmith. You need an authentication token to retrieve the package locally. Ask your team members for the authentication token, then run
echo $TOKEN | dart pub token add https://dart.cloudsmith.io/evoleen/wings_data_model/
Updating Built Objects
flutter packages pub run build_runner build