declineInvite method Null safety

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

Reject the invitation to join a group. teamId The group ID inviter The IM account (accid) of the user who sends the invitation. reason The rejection reason (maximum length: 5,000)

Implementation

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