CreateRelease class Null safety

Model class for a new release to be created.

Annotations

Constructors

CreateRelease(String? tagName)
CreateRelease.from({required String? tagName, required String? name, required String? targetCommitish, required bool? isDraft, required bool? isPrerelease, String? body})
CreateRelease.fromJson(Map<String, dynamic> input)
factory

Properties

body String?
Release Body
read / write
hashCode int
The hash code for this object. [...]
read-only, override
isDraft bool?
If the release is a draft
@JsonKey(name: 'draft'), read / write
isPrerelease bool?
true to identify the release as a prerelease. false to identify the release as a full release. Default: false
@JsonKey(name: 'prerelease'), read / write
name String?
Release Name
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tagName String?
Tag Name to Base off of
final
targetCommitish String?
Commit to Target
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. [...]
override