default
fun default(default: Pair<Identifier, V>): ValidatedIdentifierMap.Builder.BuilderWithKey.BuilderWithValue<V>
Defines a single default key-value pair
If defaults aren't set, the default map will be empty
Author
fzzyhmstrs
Since
0.2.0
Parameters
default
single Pair
fun default(key: Identifier, value: V): ValidatedIdentifierMap.Builder.BuilderWithKey.BuilderWithValue<V>
Defines a single default key-value pair
If defaults aren't set, the default map will be empty
Author
fzzyhmstrs
Since
0.2.0
Parameters
key
single String to define the default map key
value
single V to define the default map value