PullRequest class

Metadata of a PullRequest.

PullRequest is the request from a user to merge a branch (head) into another branch (base).

Constructors

PullRequest.new({Branch? base, String? body, String? closeTime, String? createTime, Branch? head, String? name, String? state, String? title, String? updateTime})
PullRequest.fromJson(Map json_)

Properties

base Branch?
The branch to merge changes in.
getter/setter pair
body String?
The pull request body.
getter/setter pair
closeTime String?
Close timestamp (if closed or merged).
getter/setter pair
createTime String?
Creation timestamp.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
The branch containing the changes to be merged.
getter/setter pair
name String?
A unique identifier for a PullRequest.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
State of the pull request (open, closed or merged).
getter/setter pair
title String?
The pull request title.
getter/setter pair
updateTime String?
Last updated timestamp.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited