FakeIssue class

An issue as the fake stores it. Mutable, because that is what an issue is.

Constructors

FakeIssue({required int number, required String nodeId, required String title, required String body, required String author, required DateTime createdAt, required DateTime updatedAt, String state = 'open', Set<String>? labels, List<FakeComment>? comments, DateTime? closedAt})

Properties

author → String
final
body ↔ String
getter/setter pair
closedAt ↔ DateTime?
getter/setter pair
comments → List<FakeComment>
final
createdAt → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Set<String>
final
nodeId ↔ String
The GraphQL global id. Reassigned on transfer, like the number.
getter/setter pair
number ↔ int
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ String
getter/setter pair
title ↔ String
getter/setter pair
updatedAt ↔ DateTime
getter/setter pair
visibleFrom ↔ DateTime
Real wall-clock instant from which GET /issues and GET /search/issues admit this issue exists — GitHub's index lags its writes, and a fake that pretends otherwise lets a store ship a duplicate-issue bug.
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