addNote method
void
addNote()
Implementation
void addNote() {
if (isViewScreen.value) return;
final text = noteController.text.trim();
if (text.isEmpty) return;
notes.add(
AddonsFunDetails(
createdBy: context.createdBy,
funRefVal: text,
isActive: 1,
addOnType: 'Notes',
),
);
noteController.clear();
}