isUser property

bool get isUser

Whether this is a user message.

Implementation

bool get isUser => role == 'user';