toJson method

Implementation

@override
String? toJson(ParticipationPublicKey? data) =>
    data != null ? base64.encode(data.bytes) : null;