getOkCommandCallBack method
Returns an ok command callback from the registry with the given associatedEventId
.
Implementation
void Function(
String relay,
NostrEventOkCommand ok,
)? getOkCommandCallBack({
required String associatedEventIdWithOkCommand,
required String relay,
}) {
final relayOkRegister = getOrCreateRegister(okCommandCallBacks, relay);
return relayOkRegister[associatedEventIdWithOkCommand];
}