toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "environment": environment!.toJson(),
      "database": database!.toJson(),
      "active_plugins":
          List<dynamic>.from(activePlugins!.map((x) => x.toJson())),
      "theme": theme!.toJson(),
      "settings": settings!.toJson(),
      "security": security!.toJson(),
      "pages": List<dynamic>.from(pages!.map((x) => x.toJson())),
    };