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