Release.fromJson constructor

Release.fromJson(
  1. Map _json
)

Implementation

Release.fromJson(core.Map _json)
    : this(
        createTime: _json.containsKey('createTime')
            ? _json['createTime'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        rulesetName: _json.containsKey('rulesetName')
            ? _json['rulesetName'] as core.String
            : null,
        updateTime: _json.containsKey('updateTime')
            ? _json['updateTime'] as core.String
            : null,
      );