Serializes this JsonRpcRequest to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;