utils library

Extensions

VersionExt on Version

Functions

getCpuArchitecture() String
Get current CPU architecture
readInput() String
resolveVersion({required Version? pubspecVersion, required String? appVersion, required String? buildVersion, required String? buildPreRelease, required String? buildMetadata}) → Version
runAsyncProcess(String executable, List<String> arguments, {String? workingDirectory, Map<String, String>? environment, bool includeParentEnvironment = true, bool runInShell = false, bool printCall = false}) Future<Process>
runBash(String executable, List<String> arguments, {String? workingDirectory, Map<String, String>? environment, bool includeParentEnvironment = true, Encoding? stdoutEncoding = systemEncoding, Encoding? stderrEncoding = systemEncoding, bool printCall = false}) Future<ProcessResult>
runProcess(String executable, List<String> arguments, {String? workingDirectory, Map<String, String>? environment, bool includeParentEnvironment = true, bool runInShell = false, Encoding? stdoutEncoding = systemEncoding, Encoding? stderrEncoding = systemEncoding, bool printCall = false}) Future<ProcessResult>