CourierClient constructor

CourierClient({
  1. String? jwt,
  2. String? clientKey,
  3. required String userId,
  4. String? connectionId,
  5. String? tenantId,
  6. bool? showLogs,
})

Implementation

CourierClient({
  String? jwt,
  String? clientKey,
  required String userId,
  String? connectionId,
  String? tenantId,
  bool? showLogs,
}) : options = CourierClientOptions(
  id: const Uuid().v4(),
  jwt: jwt,
  clientKey: clientKey,
  userId: userId,
  connectionId: connectionId,
  tenantId: tenantId,
  showLogs: showLogs ?? kDebugMode,
);