toModel method
Implementation
@override
Model toModel() {
return Model(
name: description().title,
icon: IconPackNames.mdi_playlist_edit,
fields: [
[
fieldToModelName,
fieldToModelId,
],
[
fieldToModelSort,
fieldToModelShowInList,
fieldToModelIsRequired,
],
[
fieldToModelContentColor,
fieldToModelContentIcon,
],
],
);
}