registerRequestHandler method

  1. @override
void registerRequestHandler({
  1. required String chainId,
  2. required String method,
  3. void handler(
    1. String,
    2. dynamic
    )?,
})
override

Implementation

@override
void registerRequestHandler({
  required String chainId,
  required String method,
  void Function(String, dynamic)? handler,
}) {
  try {
    return engine.registerRequestHandler(
      chainId: chainId,
      method: method,
      handler: handler,
    );
  } catch (e) {
    rethrow;
  }
}