setDescription method

Future<void> setDescription(
  1. String description,
  2. String? reason
)

Implementation

Future<void> setDescription(String description, String? reason) async {
  await dataStoreChannel.updateChannel(
    id: id,
    reason: reason,
    payload: {'topic': description},
  );
}