LDAttributesBuilder class Null safety
A builder for constructing LDContextAttributes.
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
-
anonymous(
bool anonymous) → LDAttributesBuilder - Sets whether the LDContext is only intended for flag evaluations and should not be indexed by LaunchDarkly.
-
name(
String name) → LDAttributesBuilder - Sets the context's name attribute. This attribute is optional. This will be used as the preferred display name for the context in LaunchDarkly.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
privateAttributes(
List< String> prvAttrs) → LDAttributesBuilder -
set(
String name, LDValue value) → LDAttributesBuilder - Sets the value of any attribute for the Context.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited