Val class
Represents a Query value
in RQL.
Currently Ditto supports double
, integer
, string
(url-encoded),
boolean
and null
.
NOTE: this class doesn't support url encoding, so you have to do it when you're creating the request.
See the Ditto docs for more.
Constructors
- Val.bFalse()
-
Creates a Val with
boolean
= false. - Val.bTrue()
-
Creates a Val with
boolean
= true. - Val.double(double val)
-
Creates a Val with a given
double
. - Val.int(int val)
-
Creates a Val with a given
integer
. - Val.nul()
-
Creates a Val with a given
boolean
. - Val.string(String val)
-
Creates a Val with a given
String
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateString(
) → String -
Returns the stored information in this
QueryParam
ready to use in a request. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited