Material.fromJson(Map<String, dynamic> json, Map<String, dynamic> rootJson) { uuid = json["uuid"]; type = json["type"]; color.setFromHex32(json["color"]); }