BuildArtifact class

One file produced by a build (an APK per ABI, an AAB, an IPA...).

Constructors

BuildArtifact({required String path, required int sizeBytes, required String sha256})
Creates an artifact record.
const
BuildArtifact.fromJson(Map<String, Object?> json)
Reads an artifact from its ledger JSON; missing size and digest default to 0 and empty.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
path → String
Path relative to the ledger's root folder.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sha256 → String
Hex SHA-256 digest of the file; empty when unknown.
final
sizeBytes → int
Size of the file in bytes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Returns the JSON form stored in the ledger.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited