arch property
String
arch
Implementation
String get arch {
if (_arch == null) {
final processorArchitecture =
Platform.environment['PROCESSOR_ARCHITECTURE'];
if (processorArchitecture?.toUpperCase() == 'ARM64') {
_arch = 'arm64';
} else {
_arch = 'x64';
}
}
return _arch!;
}
Implementation
set arch(String value) {
_arch = value;
}