hasContext property

bool get hasContext

Returns true if context is not null. Otherwise returns false.

Implementation

bool get hasContext => context != null;