NotificationList.fromDto constructor

NotificationList.fromDto(
  1. NotificationList dto
)

Implementation

factory NotificationList.fromDto(api.NotificationList dto) => NotificationList(
      cursor: dto.cacheableCursor,
      notifications: dto.notifications.map((e) => Notification.fromDto(e)).toList(growable: false),
    );