Skip to content

Commit

Permalink
Fix Track JSON deserialization (#125)
Browse files Browse the repository at this point in the history
* Update track.dart

* Update track.g.dart
  • Loading branch information
itsMatoosh authored Jul 19, 2021
1 parent 9391e1f commit 188601c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/models/track.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Track {
final String name;
final String uri;
@JsonKey(name: 'linked_from_uri')
final String linkedFromUri;
final String? linkedFromUri;

factory Track.fromJson(Map<String, dynamic> json) => _$TrackFromJson(json);

Expand Down
2 changes: 1 addition & 1 deletion lib/models/track.g.dart

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

0 comments on commit 188601c

Please sign in to comment.