accessOf

fun accessOf(state: S): Map<String, Any?>

The values of the aggregate's access attributes in state, by name, in declaration order: a single attribute's value or null, a multiple one's values as a set, copied, so a mutable state evolving further does not change them. Empty when it declares none. A value that is not of its attribute's type fails, naming the attribute.