updateImage method

Update the channel's image.

This is the same as calling updatePartial and providing a map with an 'image' key:

channel.updatePartial(
  set: {'image': 'https://getstream.io/new-image'}
);

Instead do:

channel.updateImage('https://getstream.io/new-image');

Implementation

Future<PartialUpdateChannelResponse> updateImage(String image) =>
    updatePartial(set: {'image': image});