hasEvent property

bool get hasEvent

Returns true if event is not null, otherwise false.

Implementation

bool get hasEvent => event != null;