5 #ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_METHOD_RESULT_H_
6 #define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_METHOD_RESULT_H_
16 template <
typename T = EncodableValue>
41 void Error(
const std::string& error_code,
42 const std::string& error_message,
43 const T& error_details) {
52 void Error(
const std::string& error_code,
53 const std::string& error_message =
"") {
67 const std::string& error_message,
68 const T* error_details) = 0;
76 #endif // FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_METHOD_RESULT_H_