Skip to content

Instantly share code, notes, and snippets.

Created March 25, 2021 22:49
What would you like to do?
Future<void> sendImage() async {
AtKey atKey = AtKey();
atKey.key = 'pic';
/// Share with the other sign
if (shareWith) {
atKey.sharedWith = AtConstants().atMap[atProtocolService.currentAtSign];
String encodedImage = Base2e15.encode(
await atProtocolService.atClientImpl.put(atKey, encodedImage);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment