Map<String, dynamic> toJson() { return { 'recipient': recipient, 'objectRef': objectRef.toJson(), }; }