ReleaseBundleZip class

A ReleaseBundle in a Zip format.

Inheritance

Constructors

ReleaseBundleZip(Release release, {Uint8List? zipBytes, Iterable<ReleaseFile>? files, String? rootPath, List<String> executableExtensions = defaultExecutableExtensions})

Properties

contentType String
Returns the MIME-Type of toBytes.
no setteroverride
executableExtensions List<String>
final
files FutureOr<Set<ReleaseFile>>
The ReleaseFiles of this bundle.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
release Release
finalinherited
rootPath String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zipBytes FutureOr<Uint8List>
no setter

Methods

buildManifest() Future<ReleaseManifest>
Builds a ReleaseManifest of this bundle.
inherited
isExecutable(String filePath) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toASCIIArtTree() Future<ASCIIArtTree>
Generates a ASCIIArtTree from this ReleaseBundle files.
inherited
toBytes() FutureOr<Uint8List>
Converts this bundle to bytes.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

isExecutableFilePath(String filePath, [List<String>? executableExtensions]) bool