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