isNewMessage property Null safety

bool isNewMessage

Implementation

bool get isNewMessage =>
    cmd == CommandString.userMessage ||
    cmd == CommandString.fileMessage ||
    cmd == CommandString.adminMessage ||
    cmd == CommandString.broadcastMessage;