Converts the public key to a layout structure for serialization.
@override Map<String, dynamic> toLayoutStruct() { return {"key": toBytes()}; }