getInvite abstract method

Future<IInvite> getInvite(
  1. String code
)

Gets an Invite object with given code. If the code is in cache - it will be taken from it, otherwise API will be called.

var inv = client.getInvite("YMgffU8");

Implementation

Future<IInvite> getInvite(String code);