name method Null safety

LDAttributesBuilder name(
  1. String name
)

Sets the context's name attribute. This attribute is optional. This will be used as the preferred display name for the context in LaunchDarkly.

Implementation

LDAttributesBuilder name(String name) {
  _attributes[_NAME] = LDValue.ofString(name);
  return this;
}