GoogleTypeExpr.fromJson constructor

GoogleTypeExpr.fromJson(
  1. Map _json
)

Implementation

GoogleTypeExpr.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,
      );