hasSubject property

bool get hasSubject

Returns true if subject is not null, otherwise false.

Implementation

bool get hasSubject => subject != null;