Skip to content

Commit

Permalink
fix(models): marketInfo and vaulted are now nullable for relic mo…
Browse files Browse the repository at this point in the history
…dels
  • Loading branch information
SlayerOrnstein committed Sep 13, 2023
1 parent 9aa4216 commit c140005
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/src/models/warframe_items/relic.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class Relic extends Item {
final List<Location> locations;

/// Warframe market url.
final MarketInfo marketInfo;
final MarketInfo? marketInfo;

/// Whether this relic has been vaulted or not.
final bool vaulted;
final bool? vaulted;

/// Creates a Json map from a Relic
@override
Expand Down
13 changes: 8 additions & 5 deletions lib/src/models/warframe_items/relic.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c140005

Please sign in to comment.