Theme.fromJson constructor
Implementation
factory Theme.fromJson(Map<String, dynamic> json) => Theme(
name: json["name"],
version: json["version"],
versionLatest: json["version_latest"],
authorUrl: json["author_url"],
isChildTheme: json["is_child_theme"],
hasWoocommerceSupport: json["has_woocommerce_support"],
hasWoocommerceFile: json["has_woocommerce_file"],
hasOutdatedTemplates: json["has_outdated_templates"],
overrides: List<dynamic>.from(json["overrides"].map((x) => x)),
parentName: json["parent_name"],
parentVersion: json["parent_version"],
parentVersionLatest: json["parent_version_latest"],
parentAuthorUrl: json["parent_author_url"],
);