DataAttributesBuilder
public class DataAttributesBuilder
extension DataAttributesBuilder: NativeBase
extension DataAttributesBuilder: Hashable
Data attributes collection builder.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
-
Creates a data attributes builder instance.
Declaration
Swift
public init() -
Configures the builder to add the given attribute.
Declaration
Swift
public func with(name: String, value: String) -> DataAttributesBuilderParameters
nameAttribute name.
valueAttribute value.
Return Value
This data attributes builder instance.
-
Configures the builder to add the given attribute.
Declaration
Swift
public func with(name: String, value: Int64) -> DataAttributesBuilderParameters
nameAttribute name.
valueAttribute value.
Return Value
This data attributes builder instance.
-
Configures the builder to add the given attribute.
Declaration
Swift
public func with(name: String, value: Float) -> DataAttributesBuilderParameters
nameAttribute name.
valueAttribute value.
Return Value
This data attributes builder instance.
-
Configures the builder to add the given attribute.
Declaration
Swift
public func with(name: String, value: Double) -> DataAttributesBuilderParameters
nameAttribute name.
valueAttribute value.
Return Value
This data attributes builder instance.
-
Configures the builder to add the given attribute.
Declaration
Swift
public func with(name: String, value: Bool) -> DataAttributesBuilderParameters
nameAttribute name.
valueAttribute value.
Return Value
This data attributes builder instance.
-
Configures the builder to add the given attribute.
Declaration
Swift
public func with(name: String, value: DataAttributeValue) -> DataAttributesBuilderParameters
nameAttribute name.
valueAttribute value.
Return Value
This data attributes builder instance.
-
Builds instance of DataAttributes.
Declaration
Swift
public func build() -> DataAttributesReturn Value
Instance of the data attributes created with the given attributes.