DartBuild class

Class which holds the necessary attributes to perform a build on various platforms for the specified buildType.

Constructors

DartBuild({String? appName, required String mainPath, String? appVersion, String? buildPreRelease, String? buildMetadata, List<String> buildArgs = const [], String? releaseFolder, List<String>? includedPaths, String? buildFolder, String? executableName, String? dartSdkPath})

Properties

appName String
latefinal
appVersion String
latefinal
buildArgs List<String>
getter/setter pair
buildFolder String
latefinal
dartSdkPath String
final
executableName String
latefinal
hashCode int
The hash code for this object.
no setterinherited
includedPaths List<String>
final
mainPath String
final
releaseFolder String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() Future<String>
Build the dart binaries for the platform given in buildCmd.
bundle() Future<String>
getArtifactPath({required String extension}) String
Get the output path, where the artifact should be placed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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