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

Public Member Functions

 StringParameter (const char *name, bool required)
 
virtual bool Validate (const char *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 814 of file service.cc.

Constructor & Destructor Documentation

◆ StringParameter()

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

Definition at line 816 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

◆ Validate()

virtual bool dart::StringParameter::Validate ( const char *  value) const
inlinevirtual

Reimplemented from dart::MethodParameter.

Definition at line 819 of file service.cc.

819{ return (value != nullptr); }
uint8_t value

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