withLabels method
Implementation
UserBuilder withLabels(List<UserLabel> labels) {
_labels = labels
.map((label) => UserLabelMapping(userId: _id ?? 1, label: label))
.toList();
return this;
}
UserBuilder withLabels(List<UserLabel> labels) {
_labels = labels
.map((label) => UserLabelMapping(userId: _id ?? 1, label: label))
.toList();
return this;
}