getInvite method
Implementation
Future<Invite> getInvite(String inviteCode, {int? withCounts}) {
var endpoint = '/invites/$inviteCode';
return _http.request(
endpoint,
converter: Invite.fromJson,
query: {
...insertNotNull('with_counts', withCounts),
},
);
}