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

# writeAttributeNullableCharString(withValue:params:completionHandler:)

## Declaration

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

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