Home > borogove > ProfileBuilder

ProfileBuilder class

Signature:

export class borogove_ProfileBuilder 

Constructors

Constructor Modifiers Description
(constructor)(profile) Create a mutable builder from an existing profile.

Methods

Method Modifiers Description
add(k, v) Add a new field to this profile
build() Build an immutable Profile from the current builder state.
move(id, moveTo) Move a profile item
remove(id) Remove a field from this profile
set(id, v) Set the value of an existing field on this profile