#include <method_result_functions.h>
Public Member Functions | |
MethodResultFunctions (ResultHandlerSuccess< T > on_success, ResultHandlerError< T > on_error, ResultHandlerNotImplemented< T > on_not_implemented) | |
virtual | ~MethodResultFunctions ()=default |
MethodResultFunctions (MethodResultFunctions const &)=delete | |
MethodResultFunctions & | operator= (MethodResultFunctions const &)=delete |
Public Member Functions inherited from flutter::MethodResult< EncodableValue > | |
MethodResult ()=default | |
MethodResult (MethodResult const &)=delete | |
virtual | ~MethodResult ()=default |
MethodResult & | operator= (MethodResult const &)=delete |
void | Success (const EncodableValue &result) |
void | Success () |
void | Error (const std::string &error_code, const std::string &error_message, const EncodableValue &error_details) |
void | Error (const std::string &error_code, const std::string &error_message="") |
void | NotImplemented () |
Protected Member Functions | |
void | SuccessInternal (const T *result) override |
void | ErrorInternal (const std::string &error_code, const std::string &error_message, const T *error_details) override |
void | NotImplementedInternal () override |
Protected Member Functions inherited from flutter::MethodResult< EncodableValue > | |
virtual void | SuccessInternal (const EncodableValue *result)=0 |
virtual void | ErrorInternal (const std::string &error_code, const std::string &error_message, const EncodableValue *error_details)=0 |
Definition at line 31 of file method_result_functions.h.
|
inline |
Definition at line 35 of file method_result_functions.h.
|
virtualdefault |
|
delete |
|
inlineoverrideprotected |
Definition at line 57 of file method_result_functions.h.
|
inlineoverrideprotectedvirtual |
Implements flutter::MethodResult< EncodableValue >.
Definition at line 66 of file method_result_functions.h.
|
delete |
|
inlineoverrideprotected |
Definition at line 50 of file method_result_functions.h.