LDValueObjectBuilder class Null safety

Builder for constructing an LDValueType.OBJECT typed LDValue.

Constructors

LDValueObjectBuilder()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited