BitBucketCloudPRDSL class

Constructors

BitBucketCloudPRDSL({required int id, required String title, required String description, required BitBucketCloudPRState state, required String createdOn, required String updatedOn, required BitBucketCloudMergeRef source, required BitBucketCloudMergeRef destination, required BitBucketCloudUser author, required List<BitBucketCloudUser> reviewers, required List<BitBucketCloudPRParticipant> participants, required Map<String, BitBucketCloudLink> links})
BitBucketCloudPRDSL.fromJson(Map<String, dynamic> json)
factory

Properties

author BitBucketCloudUser
The creator of the PR
final
createdOn String
When the pr was created, in ISO 8601 format
final
description String
The text describing the PR
final
destination BitBucketCloudMergeRef
The PR's destination
final
hashCode int
The hash code for this object.
no setterinherited
id int
The PR's ID
final
Misc links for hypermedia conformance Avaliable keys: "decline", "commits", "self", "comments", "merge", "html", "activity", "diff", "approve", "statuses"
final
participants List<BitBucketCloudPRParticipant>
People who have participated in the PR
final
reviewers List<BitBucketCloudUser>
People requested as reviewers
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source BitBucketCloudMergeRef
The PR's source, The repo Danger is running on
final
state BitBucketCloudPRState
The pull request's current status.
final
title String
Title of the pull request.
final
updatedOn String
When the pr was updated, in ISO 8601 format
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