getById method
Implementation
Future<ResponseItemDTO<ProductCatalogDTO>> getById({String? id}) async {
final response = await _http!.request(
requestType: RequestType.get,
path: '/dashboard/catalogs/products',
param: id,
);
return ResponseItemDTO<ProductCatalogDTO>(
response: response,
fromJson: ProductCatalogDTO.fromJson,
);
}