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