listCustomer method

Future<List<Customer>> listCustomer({
  1. required ListCustomerRequest request,
  2. String? authToken,
})

Lists customer profiles associated with a Square account.

Under normal operating conditions, newly created or updated customer profiles become available for the listing operation in well under 30 seconds. Occasionally, propagation of the new or updated profiles can take closer to one minute or longer, especially during network incidents and outages.

Implementation

Future<List<Customer>> listCustomer({
  required ListCustomerRequest request,
  String? authToken,
}) async {
  return _customerService.listCustomer(request: request, authToken: authToken);
}