ReleaseAsset class Null safety

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.
read / write
contentType String?
Asset Content Type
read / write
createdAt DateTime?
Time the asset was created at
read / write
downloadCount int?
Number of Downloads
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int?
Asset ID
read / write
label String?
Asset Label
read / write
name String?
Asset Name
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int?
Size of Asset
read / write
state String?
Asset State
read / write
updatedAt DateTime?
Time the asset was last updated
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. [...]
inherited