processApplyJoinGroup method

Future<void> processApplyJoinGroup (
  1. {@required List<String> events,
  2. @required bool isAgree,
  3. @required bool isRespondInviter,
  4. 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;
}