Release class Null safety

Model class for a release.

Annotations

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
read / write
assetsUrl String?
read / write
author User?
The author of this release.
read / write
body String?
Release Notes
read / write
createdAt DateTime?
The time this release was created at.
read / write
description String?
Release Description
read / write
errors List?
read / write
hasErrors bool
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
htmlUrl String?
Url to this Release
read / write
id int?
Release ID
read / write
isDraft bool?
If the release is a draft.
@JsonKey(name: 'draft'), read / write
isPrerelease bool?
If the release is a pre-release.
@JsonKey(name: 'prerelease'), read / write
name String?
Release Name
read / write
nodeId String?
read / write
publishedAt DateTime?
The time this release was published at.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tagName String?
Release Tag Name
read / write
tarballUrl String?
Tarball of the Repository Tree at the commit of this release.
read / write
targetCommitish String?
Target Commit
read / write
uploadUrl String?
The endpoint for uploading release assets. This key is a hypermedia resource. https://developer.github.com/v3/#hypermedia
read / write
url String?
Url to this Release
read / write
zipballUrl String?
ZIP of the Repository Tree at the commit of this release.
read / write

Methods

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