Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::DartStringParameter Class Reference
Inheritance diagram for dart::DartStringParameter:
dart::MethodParameter

Public Member Functions

 DartStringParameter (const char *name, bool required)
 
virtual bool ValidateObject (const Object &value) const
 
- Public Member Functions inherited from dart::MethodParameter
 MethodParameter (const char *name, bool required)
 
virtual ~MethodParameter ()
 
virtual bool Validate (const char *value) const
 
virtual bool ValidateObject (const Object &value) const
 
const char * name () const
 
bool required () const
 
virtual void PrintError (const char *name, const char *value, JSONStream *js) const
 
virtual void PrintErrorObject (const char *name, const Object &value, JSONStream *js) const
 

Detailed Description

Definition at line 682 of file service.cc.

Constructor & Destructor Documentation

◆ DartStringParameter()

dart::DartStringParameter::DartStringParameter ( const char *  name,
bool  required 
)
inline

Definition at line 684 of file service.cc.

const char * name() const
Definition: service.cc:147
MethodParameter(const char *name, bool required)
Definition: service.cc:138
bool required() const
Definition: service.cc:149

Member Function Documentation

◆ ValidateObject()

virtual bool dart::DartStringParameter::ValidateObject ( const Object value) const
inlinevirtual

Reimplemented from dart::MethodParameter.

Definition at line 687 of file service.cc.

687 {
688 return value.IsString();
689 }
uint8_t value

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