processApplyJoinGroup method

Future<void> processApplyJoinGroup ({@required List<String> events, @required bool isAgree, @required bool isRespondInviter, String reason })

Implementation

Future<void> processApplyJoinGroup({
  @required List<String> events,
  @required bool isAgree,
  @required bool isRespondInviter,
  String reason,
}) async {

  await _channel.invokeMethod('processApplyJoinGroup',{
    'events': events,
    'isAgree': isAgree == 0 ? false : true,
    'isRespondInviter': isRespondInviter == 0 ? false : true,
    'reason': reason
  }..removeWhere((key, value) => value == null));

  return;
}