Release class

Model class for a release.

Annotations
  • @JsonSerializable()

Constructors

Release({int? id, String? url, String? htmlUrl, String? tarballUrl, String? uploadUrl, String? nodeId, String? tagName, String? targetCommitish, String? name, String? body, String? description, bool? isDraft, bool? isPrerelease, DateTime? createdAt, DateTime? publishedAt, User? author, List<ReleaseAsset>? assets})
Release.fromJson(Map<String, dynamic> input)
factory

Properties

assets List<ReleaseAsset>?
Release Assets
getter/setter pair
assetsUrl String?
getter/setter pair
author User?
The author of this release.
getter/setter pair
body String?
Release Notes
getter/setter pair
createdAt DateTime?
The time this release was created at.
getter/setter pair
description String?
Release Description
getter/setter pair
errors List?
getter/setter pair
hasErrors bool
no setter
hashCode int
The hash code for this object.
no setterinherited
htmlUrl String?
Url to this Release
getter/setter pair
id int?
Release ID
getter/setter pair
isDraft bool?
If the release is a draft.
getter/setter pair
isPrerelease bool?
If the release is a pre-release.
getter/setter pair
name String?
Release Name
getter/setter pair
nodeId String?
getter/setter pair
publishedAt DateTime?
The time this release was published at.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tagName String?
Release Tag Name
getter/setter pair
tarballUrl String?
Tarball of the Repository Tree at the commit of this release.
getter/setter pair
targetCommitish String?
Target Commit
getter/setter pair
uploadUrl String?
The endpoint for uploading release assets. This key is a hypermedia resource. https://developer.github.com/v3/#hypermedia
getter/setter pair
url String?
Url to this Release
getter/setter pair
zipballUrl String?
ZIP of the Repository Tree at the commit of this release.
getter/setter pair

Methods

getUploadUrlFor(String name, [String? label]) String
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