getCustomerDetails method

  1. @override
Future<Customer> getCustomerDetails(
  1. String id
)
override

Returns details of a customer and their instruments

Implementation

@override
Future<Customer> getCustomerDetails(String id) async {
  final Map<String, dynamic> responseMap = await apiBase.call(
    RESTOption.get,
    resource: _customers + "/" + id,
    headers: headers,
  );

  return Customer.fromMap(responseMap);
}