Converts the request to JSON representation.
@override Map<String, dynamic> toJson() { return {"public_key": publicKey}; }