NotificationId constructor

NotificationId({
  1. UUID? id,
  2. NotificationType? type,
})

Implementation

factory NotificationId({
  $0.UUID? id,
  NotificationType? type,
}) {
  final result = create();
  if (id != null) result.id = id;
  if (type != null) result.type = type;
  return result;
}