Returns a serialized version of the ByteData as a base64 encoded String.
String toJson() => base64encodedString();