Merge branch 'soru/fix-tag-model' into 'master'
parse order of tags better See merge request famedly/famedlysdk!367
This commit is contained in:
commit
8e2c8b0d11
|
@ -20,7 +20,7 @@ class Tag {
|
|||
double order;
|
||||
|
||||
Tag.fromJson(Map<String, dynamic> json) {
|
||||
order = json['order']?.toDouble();
|
||||
order = double.tryParse(json['order'].toString());
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
|
|
Loading…
Reference in a new issue