dartHostTestHandler property
The name of an interface generated for tests. Implement this
interface and invoke [name of this handler].setup
to receive
calls from your real HostApi class in Dart instead of the host
platform code, as is typical.
When using this, you must specify the --out_test_dart
argument
to specify where to generate the test file.
Prefer to use a mock of the real HostApi with a mocking library for unit tests. Generating this Dart handler is sometimes useful in integration testing.
Defaults to null
in which case no handler will be generated.
Implementation
final String? dartHostTestHandler;