of
fun of(type: CommandType, aggregateId: String?, body: Any, headers: Map<String, String> = emptyMap()): CommandTarget
A CommandTarget of the given fields; parameters added later come last, with a default.
A CommandTarget of the given fields; parameters added later come last, with a default.