Release.fromJson constructor

Release.fromJson(
  1. 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,
      );