NotificationRecipients constructor

NotificationRecipients({
  1. bool? assignee,
  2. List<String>? groupIds,
  3. List<GroupName>? groups,
  4. bool? reporter,
  5. List<UserDetails>? users,
  6. bool? voters,
  7. bool? watchers,
})

Implementation

NotificationRecipients(
    {bool? assignee,
    List<String>? groupIds,
    List<GroupName>? groups,
    bool? reporter,
    List<UserDetails>? users,
    bool? voters,
    bool? watchers})
    : assignee = assignee ?? false,
      groupIds = groupIds ?? [],
      groups = groups ?? [],
      reporter = reporter ?? false,
      users = users ?? [],
      voters = voters ?? false,
      watchers = watchers ?? false;