Flutter Linux Embedder
_FlKeyChannelResponderMock Struct Reference

#include <fl_key_channel_responder.h>

Public Attributes

FlValueConverter value_converter
 
const char * channel_name
 

Detailed Description

FlKeyChannelResponderMock:

Allows mocking of FlKeyChannelResponder methods and values. Only used in unittests.

Definition at line 23 of file fl_key_channel_responder.h.

Member Data Documentation

◆ channel_name

const char* _FlKeyChannelResponderMock::channel_name

FlKeyChannelResponderMock::channel_name: Mocks the channel name to send the message.

Definition at line 35 of file fl_key_channel_responder.h.

Referenced by fl_key_channel_responder_new().

◆ value_converter

FlValueConverter _FlKeyChannelResponderMock::value_converter

FlKeyChannelResponderMock::value_converter: If value_converter is not nullptr, then this function is applied to the reply of the message, whose return value is taken as the message reply.

Definition at line 29 of file fl_key_channel_responder.h.

Referenced by TEST(), and test_lock_event().


The documentation for this struct was generated from the following file: