isMockLike property

bool isMockLike
final

Whether this output has mock-like behavior.

The heuristic used to determine mock-like behavior is if the analyzed class or one of its ancestors, other than Object, implements noSuchMethod.

Note that is the value is never true for null-safe libraries, as we no longer support null streams/stream subscriptions in the generated code.

Implementation

final bool isMockLike;