shouldLaunch method
Returns true if this event can launch, otherwise false.
Implementation
Future<bool> shouldLaunch(ExecutionContext context) async =>
await precondition?.call(context) ?? true;
Returns true if this event can launch, otherwise false.
Future<bool> shouldLaunch(ExecutionContext context) async =>
await precondition?.call(context) ?? true;