emitSessionEvent method
Future<void>
emitSessionEvent({
- required String topic,
- required String chainId,
- required SessionEventParams event,
override
Implementation
@override
Future<void> emitSessionEvent({
required String topic,
required String chainId,
required SessionEventParams event,
}) async {
_checkInitialized();
await _isValidEmit(
topic,
event,
chainId,
);
await core.pairing.sendRequest(
topic,
MethodConstants.WC_SESSION_EVENT,
WcSessionEventRequest(
chainId: chainId,
event: event,
),
);
}