of

@Contract(value = "_, _, _ -> new", pure = true)
fun of(name: String, value: String, signature: String?): ProfileProperty

Creates a new profile property with the given name, value, and signature.

Return

a new profile property

Parameters

name

the name

value

the value

signature

the signature, or null for no signature


@Contract(value = "_, _ -> new", pure = true)
fun of(name: String, value: String): ProfileProperty

Creates a new profile property with the given name and value.

Return

a new profile property

Parameters

name

the name

value

the value