Constructor

new(profile:Profile)

Create a mutable builder from an existing profile.

Methods

add(k:String, v:String):Void

Add a new field to this profile

build():Profile

Build an immutable Profile from the current builder state.

move(id:String, moveTo:String):Void

Move a profile item

Parameters:

id

the item to move

moveTo

the item currently in the position where it should move to

remove(id:String):Void

Remove a field from this profile

set(id:String, v:String):Void

Set the value of an existing field on this profile