Consider having a `call` method instead of a `run` method in use cases
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- dart
- Domain
- developer-experience
Research direction
The issue names Dart's call method and use-case run calls, but no files or tests. Start by locating the use-case classes and every .run() call site, then confirm the intended scope and compatibility of the API change. Done means the agreed callable-use-case behavior is applied consistently.
Written by the indexing model from the issue text.
Description
If we create a call method in a class, the class becomes callable and we are able to use it like so:
class MyClass {
void call();
}
final myClass = MyClass();
myClass(); // <——
We could use it with the use cases:
_myUseCase.run(); // instead of this
_myUseCase(); // we will use this.
- Dominant language
- Dart
- Stars
- 37
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ml-opensource/flutter-template
-
ml-opensource/flutter-template#123 · 1 assignee ·
-
TBD
ml-opensource/flutter-template#120 · 1 assignee ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
ml-opensource/flutter-template#113 · 1 comment · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Setup `retrofit` Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in ml-opensource/flutter-template
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
code quality good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Suwayomi/Suwayomi-Tsumiru#479 ·
-
Build Failure: agora_rtc_engine compiled against android-31 while dependencies require android-34+ Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
conceptadev/noir#95 ·