hasProperStructure method
Check if note has proper structure (punctuation, capitalization)
Implementation
bool hasProperStructure() {
// Check for proper sentence structure
final bool hasCapitalLetter = RegExp(r'[A-Z]').hasMatch(this);
final bool hasProperSpacing = !RegExp(r'\s{3,}').hasMatch(this);
final bool hasReasonableLength = length >= 10 && length <= 200;
return hasCapitalLetter && hasProperSpacing && hasReasonableLength;
}