updateName method
Update the channel's name
.
This is the same as calling updatePartial and providing a map with a 'name' key:
channel.updatePartial(
set: {'name': 'Updated channel name'}
);
Instead do:
channel.updateName('Updated channel name');
Implementation
Future<PartialUpdateChannelResponse> updateName(String name) =>
updatePartial(set: {'name': name});