generateRelaxedVoidParameter property

  1. @experimental
bool generateRelaxedVoidParameter
final

Add optional relaxedVoid parameter to _$mock method for mocktail.

if relaxedVoid is true then return null for all unstubbed void methods and an empty Future for all unstubbed Future<void> methods.

if relaxedVoid is null then it will default to relaxed.

When using mockito, should be set to false

Implementation

@experimental
final bool generateRelaxedVoidParameter;