toStrings method

Map<String, String> toStrings()

Returns all Uint8List properties as base64 encoded strings

Implementation

Map<String, String> toStrings() {
  return {
    'ciphertext': base64Encode(ciphertext),
    'sharedSecret': base64Encode(sharedSecret),
  };
}