checkmarxToken static method

String checkmarxToken()

Implementation

static String checkmarxToken() {
  final token = Platform.environment['CHECKMARX_TOKEN'];
  if (token == null || token.isEmpty) {
    throw Exception('CHECKMARX_TOKEN environment variable is not set');
  }
  return token;
}