previewSentences method

List<String> previewSentences(
  1. Map<String, List<String>> conflicts
)

One sentence per conflict for the preview text (10 11 point 2, English like the fake's other preview texts).

Implementation

List<String> previewSentences(Map<String, List<String>> conflicts) => [
  for (final id in conflicts.keys)
    '${world.people[id]?.displayName ?? id} runs on the personal subscription of '
        '${world.people[world.agents[id]?.credentialHolderId]?.displayName ?? 'nobody'}; '
        'switch it to organization first.',
];