Map<String, dynamic> toMap() { Map<String, dynamic> map = {}; if (_encrypted != null) { map['encrypted'] = _encrypted; } return map; }