ReleaseAsset class

Model class for a release asset.

Annotations

Constructors

ReleaseAsset({int? id, String? name, String? label, String? state, String? contentType, int? size, int? downloadCount, String? browserDownloadUrl, DateTime? createdAt, DateTime? updatedAt})
ReleaseAsset.fromJson(Map<String, dynamic> input)
factory

Properties

browserDownloadUrl ↔ String?
Url to download the asset.
getter/setter pair
contentType ↔ String?
Asset Content Type
getter/setter pair
createdAt ↔ DateTime?
Time the asset was created at
getter/setter pair
downloadCount ↔ int?
Number of Downloads
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int?
Asset ID
getter/setter pair
label ↔ String?
Asset Label
getter/setter pair
name ↔ String?
Asset Name
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size ↔ int?
Size of Asset
getter/setter pair
state ↔ String?
Asset State
getter/setter pair
updatedAt ↔ DateTime?
Time the asset was last updated
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.
inherited