acceptInvite method Null safety

Future<NIMResult<void>> acceptInvite(
  1. String teamId,
  2. String inviter
)

Accept the invitation to join a group. teamId The group ID inviter The IM account (accid) of the user who sends the invitation.

Implementation

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