setUserLimit method

Future<void> setUserLimit(
  1. int userLimit,
  2. String? reason
)

Implementation

Future<void> setUserLimit(int userLimit, String? reason) async {
  await dataStoreChannel.updateChannel(
    id: id,
    reason: reason,
    payload: {'user_limit': userLimit},
  );
}