toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "name": name,
      "version": version,
      "version_latest": versionLatest,
      "author_url": authorUrl,
      "is_child_theme": isChildTheme,
      "has_woocommerce_support": hasWoocommerceSupport,
      "has_woocommerce_file": hasWoocommerceFile,
      "has_outdated_templates": hasOutdatedTemplates,
      "overrides": List<dynamic>.from(overrides!.map((x) => x)),
      "parent_name": parentName,
      "parent_version": parentVersion,
      "parent_version_latest": parentVersionLatest,
      "parent_author_url": parentAuthorUrl,
    };