IssueHits class

Constructors

IssueHits({int? count, List<IssueHit> issues = const []})
Returns a new IssueHits instance.

Properties

count ↔ int?
Count is how many rows Issues carries — the size of THIS answer after the cap, not how many issues matched. A count equal to the limit means there are probably more; there is no total and no cursor.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
issues ↔ List<IssueHit>
Issues are the matching rows grouped by status and oldest-first within a group, capped by the search's limit (50 by default, 200 at most). The cap is applied to that order, so a broad search returns the head of it rather than a sample.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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