updatePartial method
A partial update can be used to set and unset specific custom data fields when it is necessary to retain additional custom data fields on the object.
set
will add, or update existing attributes.unset
will remove the attributes with the provided list of values (keys).
If you want to do a full update/replacement, use update instead.
See, https://getstream.io/chat/docs/other-rest/channel_update/?language=dart for more information.
Implementation
Future<PartialUpdateChannelResponse> updatePartial({
Map<String, Object?>? set,
List<String>? unset,
}) async {
_checkInitialized();
return _client.updateChannelPartial(id!, type, set: set, unset: unset);
}