factory Variant.fromJson(Map<String, dynamic> json) { return Variant( roots: List<Root>.from(json["root"].map((x) => Root.fromJson(x))), ); }