create method

Future<ResponseItemDTO> create({
  1. StoreShipmentMethodBody? shipmentMethod,
})

Implementation

Future<ResponseItemDTO> create(
    {StoreShipmentMethodBody? shipmentMethod}) async {
  final response = await _http!.request(
    requestType: RequestType.post,
    path: '/dashboard/stores/shipment_methods',
    data: shipmentMethod,
  );

  return ResponseItemDTO(
    response: response,
  );
}