getFlutterCpuArchitecture function
Implementation
String getFlutterCpuArchitecture(String arch) {
return switch (arch) {
'amd64' => 'x64',
'arm64' => 'arm64',
_ => throw UnimplementedError(
'Cpu architecture $arch is not supported by Flutter. '
'See https://github.com/flutter/flutter/issues/75823 for more information.',
),
};
}