rejectApply method Null safety

Future<NIMResult<void>> rejectApply(
  1. String teamId,
  2. String account,
  3. String reason
)

Reject the request to join the group. Only the admins and group owner have the permission to reject the request. teamId The group ID account The IM account (accid) of the user who requests to join the group. reason The reason why the invitation was rejected (maximum length: 5,000)

Implementation

Future<NIMResult<void>> rejectApply(
    String teamId, String account, String reason) async {
  return _platform.rejectApply(teamId, account, reason);
}