---
title: "writeAttributeNullableCharString(withValue:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustertestcluster/writeattributenullablecharstring(withvalue:completionhandler:)"
---

# writeAttributeNullableCharString(withValue:completionHandler:)

## Declaration

```swift
func writeAttributeNullableCharString(withValue value: String?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func writeAttributeNullableCharString(withValue value: String?) async throws
```
