isEmpty property
bool
get
isEmpty
Implementation
bool get isEmpty {
if (id.isEmpty) return true;
if (roomId.isEmpty) return true;
if (senderId.isEmpty) return true;
if (type == MessageType.none) return true;
if (statuses.isEmpty) return true;
if (createdAt.isEmpty) return true;
return false;
}