getTypingUser method

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

Implementation

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