GithubMilestoneValue class abstract

Model for managing Github milestones.

Githubのマイルストーンを管理するためのモデル。

Available extensions
Annotations

Constructors

GithubMilestoneValue({int? id, int? number, String? state, String? title, String? description, String? nodeId, @refParam GithubUserModelRef? creator, @Default.new(0) int openIssuesCount, @Default.new(0) int closedIssuesCount, ModelUri? url, ModelUri? htmlUrl, ModelUri? labelsUrl, ModelTimestamp? dueOn, ModelTimestamp? closedAt, @Default.new(ModelTimestamp.now()) ModelTimestamp createdAt, @Default.new(ModelTimestamp.now()) ModelTimestamp updatedAt})
Model for managing Github milestones.
const
factory
GithubMilestoneValue.fromJson(Map<String, Object?> json)
Convert from JSON.
factory

Properties

closedAt → ModelTimestamp?
no setterinherited
closedIssuesCount int
no setterinherited
copyWith → $GithubMilestoneValueCopyWith<GithubMilestoneValue>
Create a copy of GithubMilestoneValue with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt → ModelTimestamp
no setterinherited
creator GithubUserModelRef?
no setterinherited
description String?
no setterinherited
dueOn → ModelTimestamp?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
htmlUrl → ModelUri?
no setterinherited
id int?
no setterinherited
labelsUrl → ModelUri?
no setterinherited
nodeId String?
no setterinherited
number int?
no setterinherited
openIssuesCount int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
no setterinherited
title String?
no setterinherited
updatedAt → ModelTimestamp
no setterinherited
url → ModelUri?
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_GithubMilestoneValue value)) → TResult

Available on GithubMilestoneValue, provided by the GithubMilestoneValuePatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_GithubMilestoneValue value)?) → TResult?

Available on GithubMilestoneValue, provided by the GithubMilestoneValuePatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_GithubMilestoneValue value)?, {required TResult orElse()}) → TResult

Available on GithubMilestoneValue, provided by the GithubMilestoneValuePatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(int? id, int? number, String? state, String? title, String? description, String? nodeId, GithubUserModelRef? creator, int openIssuesCount, int closedIssuesCount, ModelUri? url, ModelUri? htmlUrl, ModelUri? labelsUrl, ModelTimestamp? dueOn, ModelTimestamp? closedAt, ModelTimestamp createdAt, ModelTimestamp updatedAt)?, {required TResult orElse()}) → TResult

Available on GithubMilestoneValue, provided by the GithubMilestoneValuePatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this GithubMilestoneValue to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(int? id, int? number, String? state, String? title, String? description, String? nodeId, GithubUserModelRef? creator, int openIssuesCount, int closedIssuesCount, ModelUri? url, ModelUri? htmlUrl, ModelUri? labelsUrl, ModelTimestamp? dueOn, ModelTimestamp? closedAt, ModelTimestamp createdAt, ModelTimestamp updatedAt)) → TResult

Available on GithubMilestoneValue, provided by the GithubMilestoneValuePatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(int? id, int? number, String? state, String? title, String? description, String? nodeId, GithubUserModelRef? creator, int openIssuesCount, int closedIssuesCount, ModelUri? url, ModelUri? htmlUrl, ModelUri? labelsUrl, ModelTimestamp? dueOn, ModelTimestamp? closedAt, ModelTimestamp createdAt, ModelTimestamp updatedAt)?) → TResult?

Available on GithubMilestoneValue, provided by the GithubMilestoneValuePatterns extension

A variant of when that fallback to returning null

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

form → const _$GithubMilestoneValueFormQuery
Query for form value.