Backend.fromJson constructor

Backend.fromJson(
  1. Map _json
)

Implementation

Backend.fromJson(core.Map _json) {
  if (_json.containsKey("rules")) {
    rules = (_json["rules"] as core.List)
        .map<BackendRule>((value) => new BackendRule.fromJson(value))
        .toList();
  }
}