title property
String
get
title
Implementation
String get title {
String? getTitle(Conversation? c) {
if (c == null) return null;
var title = c.title;
if (title != null && title.isNotEmpty) return title;
if (c.id != null) return c.id;
return null;
}
var title = getTitle(conversation);
if (title != null) return title;
var originalTitle = getTitle(originalConversation);
if (originalTitle != null) {
return originalTitle;
}
return 'Nova conversa';
}