refactor: format files with dartFmt

This commit is contained in:
jideguru
2021-06-03 00:42:53 +01:00
parent 75ae842f4b
commit 4097c7c746
7 changed files with 4 additions and 157 deletions

View File

@@ -12,12 +12,11 @@ class Family {
name = json['name'];
if (json['font'] != null) {
fonts = <Font>[];
if(json['font'] is List) {
if (json['font'] is List) {
json['font'].forEach((v) {
fonts!.add(new Font.fromJson(v));
});
}
}
lang = json['lang'];
variant = json['variant'];