toModel method
Implementation
@override
Model toModel() {
final Model entity = super.toModel();
return entity.copyWith(
fields: [
[
fieldToModelName,
fieldToModelId,
fieldToModelMaxLines,
],
[
fieldToModelSort,
fieldToModelShowInList,
fieldToModelIsRequired,
],
],
);
}