getById method

Implementation

Future<ResponseItemDTO<ProductPriceGroupDTO>> getById({String? id}) async {
  final response = await _http!.request(
    requestType: RequestType.get,
    path: '/dashboard/products/prices/groups',
    param: id,
  );

  return ResponseItemDTO<ProductPriceGroupDTO>(
    response: response,
    fromJson: ProductPriceGroupDTO.fromJson,
  );
}