channel_mock library

Classes

ArgumentMatcher
Class to handle logic for matching arguments for Mock Invocations
ChannelMock
Wrap a channel in a mock implementation
MockInvocation
Class to handle mocking invocations of our channel methods

Typedefs

ChannelMockResponseCallback = void Function(dynamic decodedResult)
Type for the callback for the thenResponse callback
MockCallHandler = dynamic Function(int handle, dynamic arguments)
Function that mocks a call to the channel
ResponseArgumentGenerator = dynamic Function(int callHandle, dynamic callArguments)
Function that generates the arguments to use in a channel response