Notification.fromDto constructor

Notification.fromDto(
  1. Notification dto
)

Implementation

factory Notification.fromDto(api.Notification dto) => Notification(
      id: dto.id,
      code: dto.code,
      content: dto.content,
      subject: dto.subject,
      senderId: dto.senderId,
      createTime: dto.createTime.toDateTime(),
      persistent: dto.persistent,
    );