attributionOf static method
The author id to record on content a user makes, or null when authorId
is the unknownAuthorId sentinel — for optional author fields, where
unknown would be a placeholder written into a shared file.
Implementation
static String? attributionOf(String authorId) =>
authorId == unknownAuthorId ? null : authorId;