List<Category> categoryFromJson(String str) => List<Category>.from(json.decode(str).map(Category.fromJson));