The FMPUtils.FMPString.Builder class is a builder for the FMPUtils.FMPString class.
class Builder
| Method | Description |
| value(_:) | Save value to variable. func value(_ value: String) -> Builder Parameters:
|
| key(_:) | Save encryption key to variable. func key(_ key: String) -> Builder Parameters:
|
| build() | Build an instance of the FMPUtils.FMPString class. It returns the object of the FMPUtils.FMPString type. func build() -> FMPUtils.FMPString |
Build an instance of the FMPUtils.FMPString class:
let stringValue: String
// Build an instance of the FMPUtils.FMPString class
let string: FMPUtils.FMPString = FMPUtils().string
.value(stringValue) // By default ""
.key("key") // By default ""
.build()
See also: