getOkCommandCallBack method

(void Function(NostrEventOkCommand ok)?) getOkCommandCallBack(
  1. String associatedEventIdWithOkCommand
)

Returns an ok command callback from the registry with the given associatedEventId.

Implementation

void Function(
  NostrEventOkCommand ok,
)? getOkCommandCallBack(String associatedEventIdWithOkCommand) {
  return okCommandCallBacks[associatedEventIdWithOkCommand];
}