respond method

  1. @override
Future<void> respond({
  1. required String topic,
  2. required JsonRpcResponse response,
})
override

Implementation

@override
Future<void> respond({
  required String topic,
  required JsonRpcResponse response,
}) {
  try {
    return engine.respondSessionRequest(
      topic: topic,
      response: response,
    );
  } catch (e) {
    rethrow;
  }
}