Milestone class
Model class for a milestone.
- Annotations
-
- @JsonSerializable()
Constructors
- Milestone({int? id, int? number, String? state, String? title, String? description, User? creator, int? openIssuesCount, int? closedIssuesCount, DateTime? createdAt, DateTime? updatedAt, DateTime? dueOn, DateTime? closedAt, String? htmlUrl, String? labelsUrl, String? nodeId, String? url})
-
Milestone.fromJson(Map<
String, dynamic> input) -
factory
Properties
- closedAt ↔ DateTime?
-
getter/setter pair
- closedIssuesCount ↔ int?
-
Number of Closed Issues
getter/setter pair
- createdAt ↔ DateTime?
-
Time the milestone was created at
getter/setter pair
- creator ↔ User?
-
Milestone Creator
getter/setter pair
- description ↔ String?
-
Milestone Description
getter/setter pair
- dueOn ↔ DateTime?
-
The due date for this milestone
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- htmlUrl ↔ String?
-
Example:
https://github.com/octocat/Hello-World/milestones/v1.0
getter/setter pair - id ↔ int?
-
Unique Identifier for Milestone
getter/setter pair
- labelsUrl ↔ String?
-
Example:
https://api.github.com/repos/octocat/Hello-World/milestones/1/labels
getter/setter pair - nodeId ↔ String?
-
Example:
MDk6TWlsZXN0b25lMTAwMjYwNA==
getter/setter pair - number ↔ int?
-
Milestone Number
getter/setter pair
- openIssuesCount ↔ int?
-
Number of Open Issues
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
Milestone State
getter/setter pair
- title ↔ String?
-
Milestone Title
getter/setter pair
- updatedAt ↔ DateTime?
-
The last time the milestone was updated at
getter/setter pair
- url ↔ String?
-
Example:
https://api.github.com/repos/octocat/Hello-World/milestones/1
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