getTypingUser method

String getTypingUser(
  1. ProfileDetails profile,
  2. bool? isGroup
)

Implementation

String getTypingUser(ProfileDetails profile, bool? isGroup) {
  if (isGroup.checkNull()) {
    return "${profile.getName().checkNull()} ${getTranslated("typingIndicator")}";
  } else {
    return getTranslated("typingIndicator");
  }
}