registerOkCommandCallBack static method
Implementation
static void registerOkCommandCallBack(
String associatedEventId,
void Function(NostrEventOkCommand ok)? onOk,
) {
okCommandCallBacks[associatedEventId] = onOk;
}
static void registerOkCommandCallBack(
String associatedEventId,
void Function(NostrEventOkCommand ok)? onOk,
) {
okCommandCallBacks[associatedEventId] = onOk;
}