validateAppSecret function
Implementation
void validateAppSecret(String? appSecret) {
if (appSecret == null || appSecret.isEmpty) {
throw createError(
DitoError.invalidParameters,
'appSecret is required and cannot be empty',
);
}
}