Milestone class Null safety

Model class for a milestone.

Annotations

Constructors

Milestone({int? id, int? number, String? state, String? title, String? description, User? creator, int? openIssuesCount, int? closedIssuesCount, DateTime? createdAt, DateTime? updatedAt, DateTime? dueOn})
Milestone.fromJson(Map<String, dynamic> input)
factory

Properties

closedIssuesCount int?
Number of Closed Issues
@JsonKey(name: 'closed_issues'), read / write
createdAt DateTime?
Time the milestone was created at
read / write
creator User?
Milestone Creator
read / write
description String?
Milestone Description
read / write
dueOn DateTime?
The due date for this milestone
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int?
Unique Identifier for Milestone
read / write
number int?
Milestone Number
read / write
openIssuesCount int?
Number of Open Issues
@JsonKey(name: 'open_issues'), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String?
Milestone State
read / write
title String?
Milestone Title
read / write
updatedAt DateTime?
The last time the milestone was updated at
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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