parse order of tags better

This commit is contained in:
Sorunome 2020-06-25 14:05:10 +00:00 committed by Christian Pauly
parent 00be163153
commit 663d0a2638
1 changed files with 1 additions and 1 deletions

View File

@ -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() {