CreateRelease class

Model class for a new release to be created.

Annotations
  • @JsonSerializable()

Constructors

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

Properties

body String?
Release Body
getter/setter pair
discussionCategoryName String?
getter/setter pair
generateReleaseNotes bool
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
isDraft bool?
If the release is a draft
getter/setter pair
isPrerelease bool?
true to identify the release as a prerelease. false to identify the release as a full release. Default: false
getter/setter pair
name String?
Release Name
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tagName String?
Tag Name to Base off of
final
targetCommitish String?
Commit to Target
getter/setter pair

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.
override