Expr.fromJson constructor

Expr.fromJson(
  1. Map _json
)

Implementation

Expr.fromJson(core.Map _json)
    : this(
        description: _json.containsKey('description')
            ? _json['description'] as core.String
            : null,
        expression: _json.containsKey('expression')
            ? _json['expression'] as core.String
            : null,
        location: _json.containsKey('location')
            ? _json['location'] as core.String
            : null,
        title:
            _json.containsKey('title') ? _json['title'] as core.String : null,
      );