validateAppKey function

void validateAppKey(
  1. String? appKey
)

Implementation

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