5 #ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_EVENT_SINK_H_
6 #define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_EVENT_SINK_H_
14 template <
typename T = EncodableValue>
31 void Error(
const std::string& error_code,
32 const std::string& error_message,
33 const T& error_details) {
38 void Error(
const std::string& error_code,
39 const std::string& error_message =
"") {
53 const std::string& error_message,
54 const T* error_details) = 0;
62 #endif // FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_EVENT_SINK_H_