toPointsInPeriod static method
Implementation
static domain.PointsInPeriod toPointsInPeriod(
infra.PointsInPeriodResponse response,
) {
return domain.PointsInPeriod(
ok: response.ok,
startDate: response.object.startDate,
endDate: response.object.endDate,
pointTypeId: response.object.pointTypeId,
points: response.object.points,
);
}