Expr.fromJson constructor

Expr.fromJson(
  1. Map _json
)

Implementation

Expr.fromJson(core.Map _json) {
  if (_json.containsKey("description")) {
    description = _json["description"];
  }
  if (_json.containsKey("expression")) {
    expression = _json["expression"];
  }
  if (_json.containsKey("location")) {
    location = _json["location"];
  }
  if (_json.containsKey("title")) {
    title = _json["title"];
  }
}