getById method

Implementation

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

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