ReleasePacker class

Constructors

ReleasePacker(String name, Version version, List<ReleasePackerFile> files, {List<ReleasePackerCommand>? prepareCommands, List<ReleasePackerCommand>? finalizeCommands, Map<String, String>? properties, Directory? configDirectory})
ReleasePacker.fromFile(File file, {Map<String, String>? properties, Directory? rootDirectory, bool allowPropertiesFromEnv = false})
factory
ReleasePacker.fromFilePath(String filePath, {Map<String, String>? properties, Directory? rootDirectory, bool allowPropertiesFromEnv = false})
factory
ReleasePacker.fromJson(Map<String, Object?> json, {Map<String, String>? properties, Directory? rootDirectory, bool allowPropertiesFromEnv = false})
factory

Properties

configDirectory → Directory?
final
files → List<ReleasePackerFile>
final
finalizeCommands → List<ReleasePackerCommand>?
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
prepareCommands → List<ReleasePackerCommand>?
final
properties → Map<String, String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → Version
final

Methods

buildFromDirectory({Directory? rootDirectory, String? sourcePath, String? platform}) → Future<ReleaseBundleZip>
finalize(Directory rootDirectory, {ReleaseBundle? releaseBundle, String? platform}) → Future<Map<ReleasePackerCommand, bool>>
getFile(String filePath, {String? platform}) → ReleasePackerFile?
getFileMatching(RegExp filePathRegexp) → ReleasePackerFile?
getFiles({String? platform}) → List<ReleasePackerFile>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare(Directory rootDirectory, {String? platform}) → Future<Map<ReleasePackerCommand, bool>>
toString() → String
A string representation of this object.
override

Operators

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