setName method

Future<void> setName(
  1. String name,
  2. String? reason
)

Implementation

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