WrapperExistsCheck typedef

WrapperExistsCheck = bool Function()

Signature for an injected "does CWD have a consumer wrapper?" check.

A consumer wrapper is either bin/dispatcher.dart (the canonical name emitted by dart run fluttersdk_artisan install) or bin/artisan.dart (the legacy name still accepted for backward compatibility with hand-curated wrappers).

Defaults to the real FS lookup (defaultConsumerWrapperExists); tests inject a deterministic stub.

Implementation

typedef WrapperExistsCheck = bool Function();