toModel method
Implementation
@override
Model toModel() {
return Model(
name: description().title,
icon: IconPackNames.mdi_format_header_pound,
fields: [
[
fieldToModelName,
fieldToModelId,
],
[
fieldToModelContent,
],
[
fieldToModelContentColor,
fieldToModelContentIcon,
NumberField(id: 'contentFontSize', name: 'Font size'),
BoolField(id: 'useAsDivider', name: 'Use as divider'),
],
],
);
}