SystemStatus.fromJson constructor
SystemStatus.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SystemStatus.fromJson(Map<String, dynamic> json) => SystemStatus(
environment: Environment.fromJson(json["environment"]),
database: Database.fromJson(json["database"]),
activePlugins: List<ActivePlugin>.from(
json["active_plugins"].map((x) => ActivePlugin.fromJson(x))),
theme: Theme.fromJson(json["theme"]),
settings: Settings.fromJson(json["settings"]),
security: Security.fromJson(json["security"]),
pages: List<Page>.from(json["pages"].map((x) => Page.fromJson(x))),
);