parseMsixArchitecture function

String parseMsixArchitecture(
  1. String value
)

Implementation

String parseMsixArchitecture(String value) {
  if (!msixArchitectures.contains(value)) {
    throw ShipworldException(
      'Invalid MSIX architecture: $value. '
      'Must be one of: ${msixArchitectures.join(', ')}',
    );
  }

  return value;
}