PullView class

Constructors

PullView({String? author, String? base_, String? body, String? createdAt, String? head, String? mergedRev, int? number, String? repo, String? state, String? title, String? updatedAt})
Returns a new PullView instance.

Properties

author ↔ String?
Author is the user who opened it; empty for a caller with no user.
getter/setter pair
base_ ↔ String?
Base is the branch the work is proposed into.
getter/setter pair
body ↔ String?
Body is the longer description; empty when none was given.
getter/setter pair
createdAt ↔ String?
CreatedAt is RFC 3339 UTC.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
Head is the branch holding the work.
getter/setter pair
mergedRev ↔ String?
MergedRev is what base points at now that the merge landed. Empty while the proposal is open.
getter/setter pair
number ↔ int?
Number is the proposal's per-repo handle, dense from 1.
getter/setter pair
repo ↔ String?
Repo is the repository the proposal belongs to.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ String?
State is "open" or "merged".
getter/setter pair
title ↔ String?
Title is the one-line summary.
getter/setter pair
updatedAt ↔ String?
UpdatedAt is RFC 3339 UTC.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → PullView?
Returns a new PullView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PullView>
mapFromJson(dynamic json) → Map<String, PullView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PullView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.