LDValueObjectBuilder class
Builder for constructing an LDValueType.object typed LDValue.
Constructors
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
-
addBool(
String key, bool value) → LDValueObjectBuilder - Associated the given key and bool in the builder.
-
addNum(
String key, num value) → LDValueObjectBuilder - Associated the given key and num in the builder.
-
addString(
String key, String value) → LDValueObjectBuilder - Associated the given key and String in the builder.
-
addValue(
String key, LDValue value) → LDValueObjectBuilder - Associated the given key and LDValue in the builder.
-
build(
) → LDValue - Returns an LDValue of type LDValueType.object containing the builder's current elements.
-
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