attachingIn static method
The attaching kinds of the table bytes, as a started entry holds
it, read back without looking any user up: what attached when an entry
was added is what the table in force then said. Never throws: a kind
it cannot read attaches nothing.
Implementation
static Set<Kind> attachingIn(Uint8List bytes) => {
for (final line in utf8.decode(bytes, allowMalformed: true).split('\n'))
if (line.trim().split(RegExp(r'\s+')) case [
_attachingLabel,
...final words,
])
for (final word in words)
if (Kind.parse(word) case final kind?
when kind != Kind.usersAssignedToJourneyPath &&
kind != Kind.journeyEnded)
kind,
};