PullRequest.fromJson constructor

PullRequest.fromJson(
  1. Map json_
)

Implementation

PullRequest.fromJson(core.Map json_)
  : this(
      author: json_['author'] as core.String?,
      baseRef: json_['baseRef'] as core.String?,
      body: json_['body'] as core.String?,
      closeTime: json_['closeTime'] as core.String?,
      createTime: json_['createTime'] as core.String?,
      declineTime: json_['declineTime'] as core.String?,
      headRef: json_['headRef'] as core.String?,
      htmlUrl: json_['htmlUrl'] as core.String?,
      id: json_['id'] as core.String?,
      mergeTime: json_['mergeTime'] as core.String?,
      mergeability: json_['mergeability'] as core.String?,
      state: json_['state'] as core.String?,
      title: json_['title'] as core.String?,
      updateTime: json_['updateTime'] as core.String?,
    );