toMap method
override
Implementation
Map<String, dynamic> toMap() {
Map<String, dynamic> map = {};
if (_encrypted != null) {
map['encrypted'] = _encrypted;
}
if (_nonce != null) {
map['nonce'] = _nonce;
}
if (_their_public != null) {
map['their_public'] = _their_public;
}
if (_secret != null) {
map['secret'] = _secret;
}
return map;
}