toModel method
Implementation
@override
Model toModel() {
return Model(
name: description().title,
icon: IconPackNames.flu_calendar_clock_filled,
fields: [
[
fieldToModelName,
fieldToModelId,
],
[
fieldToModelSort,
fieldToModelShowInList,
],
[
fieldToModelIsRequired,
BoolField(id: 'isCreatedAtField', name: 'Is createdAt field?'),
BoolField(id: 'isUpdatedAtField', name: 'Is updatedAt field?'),
],
],
);
}