RpcMethod typedef Null safety

RpcMethod = Future Function(dynamic rq)

Implementation

typedef RpcMethod = Future Function(dynamic rq);