registerOkCommandCallBack method
Registers an ok command callback to the registry with the given associatedEventId
.
Implementation
void registerOkCommandCallBack(
String associatedEventId,
void Function(NostrEventOkCommand ok)? onOk,
) {
okCommandCallBacks[associatedEventId] = onOk;
}