RequestHandler typedef
Handles an incoming request; returns the result or throws ResponseError.
Implementation
typedef RequestHandler =
FutureOr<Object?> Function(String method, Object? params);
Handles an incoming request; returns the result or throws ResponseError.
typedef RequestHandler =
FutureOr<Object?> Function(String method, Object? params);