comAtprotoAdminSearchAccounts function

Future<XRPCResponse<AdminSearchAccountsOutput>> comAtprotoAdminSearchAccounts({
  1. String? email,
  2. String? cursor,
  3. int? limit,
  4. required ServiceContext $ctx,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Get list of accounts that matches your search query.

Implementation

Future<XRPCResponse<AdminSearchAccountsOutput>> comAtprotoAdminSearchAccounts({
  String? email,
  String? cursor,
  int? limit,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoAdminSearchAccounts,
  headers: $headers,
  parameters: {
    ...?$unknown,
    if (email != null) 'email': email,
    if (cursor != null) 'cursor': cursor,
    if (limit != null) 'limit': limit,
  },
  to: const AdminSearchAccountsOutputConverter().fromJson,
);