GithubRelease class final

GithubRelease implements all the properties of the Github Releases API

Annotations
  • @autoequal
  • @CopyWith()
  • @JsonSerializable(explicitToJson: true)
  • @instance

Constructors

GithubRelease({required Uri url, required Uri assetsUrl, required Uri uploadUrl, required Uri htmlUrl, required int id, required GithubUser author, required String nodeId, required Version tagName, required String targetCommitish, required String name, required bool draft, required bool prerelease, required DateTime createdAt, required DateTime publishedAt, required List<GithubAsset> assets, required Uri tarballUrl, required Uri zipballUrl, required String body})
const
GithubRelease.fromJson(Map<String, dynamic> json)
factory

Properties

assets List<GithubAsset>
final
assetsUrl Uri
final
author GithubUser
final
body String
final
createdAt DateTime
final
draft bool
final
hashCode int
The hash code for this object.
no setterinherited
htmlUrl Uri
final
id int
final
name String
final
nodeId String
final
prerelease bool
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
publishedAt DateTime
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tagName → Version
final
tarballUrl Uri
final
targetCommitish String
final
uploadUrl Uri
final
url Uri
final
zipballUrl Uri
final

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