hasEvent property
bool
get
hasEvent
Returns true if event
is not null, otherwise false.
Implementation
bool get hasEvent => event != null;
Returns true if event
is not null, otherwise false.
bool get hasEvent => event != null;