declineInvite method Null safety

Future<NIMResult<void>> declineInvite(
  1. String teamId,
  2. String inviter,
  3. String reason
)

Reject the invitation to join a group. teamId The group ID inviter The account(accid) of the inviter. reason The rejection reason (lengh limit: 5000 characters)

Implementation

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