registerRequestHandler method

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

Implementation

@override
void registerRequestHandler({
  required String chainId,
  required String method,
  dynamic Function(String, dynamic)? handler,
}) {
  _methodHandlers[_getRegisterKey(chainId, method)] = handler;
}