getInvite method

Future<Invite> 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<Invite> getInvite(String code) =>
    this.httpEndpoints.fetchInvite(code);