asJsonBase64 method

String asJsonBase64()

JSON-then-base64-encoded representation, exactly as sent to FastComments.

Implementation

String asJsonBase64() => base64.encode(utf8.encode(jsonEncode(toJson())));