fix: update key in MorphFeature.fromJson function (#1925)
This commit is contained in:
parent
97b8d61afe
commit
7271f6da10
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ class MorphFeature {
|
|||
factory MorphFeature.fromJson(Map<String, dynamic> json) {
|
||||
return MorphFeature(
|
||||
feature: json['feature'],
|
||||
tags: List<String>.from(json['tag']),
|
||||
tags: List<String>.from(json['tag'] ?? json['tags']),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue