hasMessage property

bool get hasMessage

Returns true if message is not null, otherwise false.

Implementation

bool get hasMessage => message != null;