unreadMessages property

int get unreadMessages

Implementation

int get unreadMessages => messages.where((msg) => !msg.isReaded).length;