getAccountInviteCodes method

Future<XRPCResponse<InviteCodes>> getAccountInviteCodes({
  1. bool? includeUsed,
  2. bool? createAvailable,
  3. Map<String, String>? headers,
})

Implementation

Future<core.XRPCResponse<InviteCodes>> getAccountInviteCodes({
  bool? includeUsed,
  bool? createAvailable,
  Map<String, String>? headers,
}) async =>
    await _ctx.get(
      ns.comAtprotoServerGetAccountInviteCodes,
      headers: headers,
      parameters: {
        'includeUsed': includeUsed,
        'createAvailable': createAvailable,
      },
      to: InviteCodes.fromJson,
    );