-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Summary
Refactor boolean variables and properties across the codebase to align with Dart naming recommendations by adding standard prefixes (e.g., is, has).
Details
Current implementation declares boolean variables using simple adjectives or nouns (e.g., bool empty, bool valid).
This naming convention is inconsistent with the Dart ecosystem and can lead to ambiguity regarding the variable's type or intent.
Proposal: Rename all boolean fields, parameters, and local variables to use is, has, or should prefixes.
// Current
bool empty = true;
bool error = false;
// Proposed
bool isEmpty = true;
bool hasError = false;Additional Notes / References
Pre‑Work Checklist
- No existing issue covers this work.
Metadata
Metadata
Assignees
Labels
No labels