createPhysicalInventory method
Create physical inventory
Implementation
Future<PhysicalInventory> createPhysicalInventory(
CreatePhysicalInventoryRequest request,
) async {
final response = await _apiClient.post<Map<String, dynamic>>(
'/api/v1/inventory/physical-inventories',
data: request.toJson(),
);
return PhysicalInventory.fromJson(response);
}