Repository
A brick to create a repository structure for your project!
How to use š
mason make repository_brick
Variables āØ
Variable | Description | Default | Type |
---|---|---|---|
repositoryname | The name of the repository | lib | string |
methodname | The name of the method in the repository | lib | string |
datasourcename | The name of the datasource in the repository | lib | string |
Outputs š¦
--project
| āāā lib
ā ā āāā app
ā ā ā āāā modules
ā ā ā ā āāā repositoryname
ā ā ā ā | āāā domain
| | | | | | āāā repositories
| | | | | | | āāā repositoryname_repository.dart
| | | | | āāā infra
| | | | | | āāā repositories
| | | | | | | āāā repositoryname_repository_impl.dart
ā ā āāā
ā āāā
āāā ...