rpc_dispatcher library
It's just an interface for method invocation in a JSON-RPC implementation. There are two implementations that don't look the same, and one is incompatible with flutter.
Classes
- Dispatcher
- Dispatcher is interface with a dispatch method for invoking methods on an instance. This interface hides implementation details for concrete method invokers for a JsonRpc service.
Functions
-
symbolizeKeys(
Map< String, dynamic> namedParams) → Map<Symbol, dynamic> - Convenience method for making a Map of Symbol:value out of a Map of String:value. We want to do this to the Map of namedParams for use in an 'invoke' method of mirror or reflected instance.