MethodChannelTestMixin mixin

A mixin for adding a function to mock processing in a test environment to a class.

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
methodCallLogs List<MethodCall>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setMockMethodCallHandler() → void
A function for mocking a MethodChannel.
setMockStreamHandler() → void
A function for mocking a MockStreamHandler.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited