create method

Future<CustomerModel> create({
  1. required CustomerRequestMessage request,
  2. String customApiToken = '',
})
Cria um cliente em uma conta especifica

Implementation

Future<CustomerModel> create({
  required CustomerRequestMessage request,
  String customApiToken = '',
}) async {
  var result = await apiResource.post(data: request.toMap(), apiUserToken: customApiToken);
  return CustomerModel.fromMap(result);
}