Merge pull request dart-lang/json_rpc_2#80 from scheglov/fix-HintCode.UNNECESSARY_TYPE_CHECK_TRUE

Fix pre-existing HintCode.UNNECESSARY_TYPE_CHECK_TRUE
tree: b141deca4bd539535fe79fa1fc4462d9e10496e4
  1. pkgs/