getGoalStatusInfoToEntity static method

GoalStatusInfo getGoalStatusInfoToEntity(
  1. GoalStatusInfoResponse response
)

Implementation

static domain.GoalStatusInfo getGoalStatusInfoToEntity(
  infra.GoalStatusInfoResponse response,
) =>
    domain.GoalStatusInfo(
      ok: response.ok,
      name: response.object.name,
      status: response.object.status,
      winned: response.object.winned,
      winningDates: response.object.winningDates,
      goalId: response.object.goalId,
    );