GitHubPRDSL class
Constructors
-
GitHubPRDSL({required int number, required GitHubPRState state, required bool locked, required String title, String? body, required String createdAt, required String updatedAt, String? closedAt, String? mergedAt, required GitHubMergeRef head, required GitHubMergeRef base, required GitHubUser user, GitHubUser? assignee, List<
GitHubUser> ? assignees, bool? merged, required int comments, required int reviewComments, required int commits, int? additions, int? deletions, int? changedFiles, required String htmlUrl, GitHubPRAuthorAssociation? authorAssociation}) -
GitHubPRDSL.fromJson(Map<
String, dynamic> json) -
factory
Properties
- additions → int?
-
The number of additional lines in the PR
final
- assignee → GitHubUser?
-
The User who is assigned the PR
final
-
assignees
→ List<
GitHubUser> ? -
The Users who are assigned to the PR
final
-
How does the PR author relate to this repo/org?
final
- base → GitHubMergeRef
-
Merge reference for this repo.
final
- body → String?
-
The markdown body message of the PR
final
- changedFiles → int?
-
The number of changed files in the PR
final
- closedAt → String?
-
optional ISO6801 Date string for when PR was closed
final
- comments → int
-
The number of comments on the PR
final
- commits → int
-
The number of commits in the PR
final
- createdAt → String
-
ISO6801 Date string for when PR was created
final
- deletions → int?
-
The number of deleted lines in the PR
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- head → GitHubMergeRef
-
Merge reference for the other repo.
final
- htmlUrl → String
-
The link back to this PR as user-facing
final
- locked → bool
-
Has the PR been locked to contributors only?
final
- merged → bool?
-
Has the PR been merged yet?
final
- mergedAt → String?
-
Optional ISO6801 Date string for when PR was merged.
final
- number → int
-
The UUID for the PR
final
- reviewComments → int
-
The number of review-specific comments on the PR
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → GitHubPRState
-
The state for the PR
final
- title → String
-
The title of the PR
final
- updatedAt → String
-
ISO6801 Date string for when PR was updated
final
- user → GitHubUser
-
The User who submitted the PR
final
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