Release.fromJson constructor
Release.fromJson(
- Map _json
Implementation
Release.fromJson(core.Map _json)
: this(
message: _json.containsKey('message')
? _json['message'] as core.String
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
releaseTime: _json.containsKey('releaseTime')
? _json['releaseTime'] as core.String
: null,
releaseUser: _json.containsKey('releaseUser')
? ActingUser.fromJson(
_json['releaseUser'] as core.Map<core.String, core.dynamic>)
: null,
type: _json.containsKey('type') ? _json['type'] as core.String : null,
version: _json.containsKey('version')
? Version.fromJson(
_json['version'] as core.Map<core.String, core.dynamic>)
: null,
);