commentActivityResultToEntity static method
Implementation
static domain.CommentActivityResult commentActivityResultToEntity(
infra.CommentActivityResultResponse response,
) =>
domain.CommentActivityResult(
ok: response.ok,
activityState: response.activityState,
activityPoints: response.activityPoints,
message: response.message,
executionError: response.executionError,
object: domain.CommentActivity(
id: response.object.id,
type: response.object.type,
activityCount: response.object.activityCount,
atype: response.object.atype,
category: response.object.category,
moderation: response.object.moderation,
points: response.object.points,
state: response.object.state,
createdAt: response.object.createdAt,
module: response.object.module,
name: response.object.name,
team: response.object.team,
participant: ParticipantMapper.toEntity(response.object.participant),
votesCount: response.object.votesCount,
tags: response.object.tags,
participantsTags: response.object.participantsTags,
pushRedirectUrl: response.object.pushRedirectUrl,
),
);