toModel method
Implementation
UContentItem toModel() => UContentItem(
title: titleController.text.nullIfEmpty(),
subTitle: subTitleController.text.nullIfEmpty(),
description: descriptionController.text.nullIfEmpty(),
link: linkController.text.nullIfEmpty(),
order: int.tryParse(orderController.text),
iconBase64: iconBase64,
imageBase64: imageBase64,
);