ofCommand

fun ofCommand(command: Any, property: String): String?

The id command holds in property, stored, write-only or computed: as the body a node writes holds it (CommandBodyJson, which carries a write-only value), and, where that holds none, as Wow's JSON writes the command (WowJson), which holds a computed one. Null when it holds none; an IllegalArgumentException when it holds anything but a string. A computed id is no part of the body a node writes, which holds what the command's class reads: the command's ref carries it, and a node that sends the command reads it here. A write-only id is, and every node reads it from the body: the same command names the same aggregate on its own node and through a peer.