joinChannel static method

Future<Map<Object?, Object?>> joinChannel(
  1. String channelId,
  2. String userId,
  3. int userRole
)

Implementation

static Future<Map<Object?, Object?>> joinChannel(
  String channelId, String userId, int userRole) async {
  Map<Object?, Object?> ret = await _channel.invokeMethod('joinChannel',
      {'channel': channelId, 'userid': userId, 'role': userRole});
  return ret;
}