Created
February 14, 2022 18:05
-
-
Save danielgomezrico/9052412d6fca785a06c4cbce3b472460 to your computer and use it in GitHub Desktop.
UseCase / Interactor - naming convention to use with use cases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UpdateUserInteractor { | |
Future<void> call(String name) async { | |
print("done $name"); | |
return; | |
} | |
} | |
void main() async { | |
final updateUser = UpdateUserInteractor(); | |
await updateUser('Dan'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment