senderInitials property
String
get
senderInitials
Implementation
String get senderInitials {
if (message.ownerName == null) return "";
List<String> chars = message.ownerName!.split(" ");
if (chars.length > 1) {
return chars[0];
} else {
return message.ownerName![0];
}
}