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
| const List<Map<String,dynamic>>rawData=[ | |
| { | |
| "cityId": "01", | |
| "provinceName": "اردبيل", | |
| "cityName": "اردبيل", | |
| "provinceId": "24" | |
| }, | |
| { | |
| "cityId": "11", | |
| "provinceName": "اردبيل", |
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
| import 'package:taskino/core/data_response.dart'; | |
| import 'package:taskino/models/category_model.dart'; | |
| import 'package:taskino/models/project_model.dart'; | |
| import 'package:taskino/models/task_model.dart'; | |
| abstract class DataBaseAdaptor{ | |
| // Create opreations | |
| Future<DataResponse> createProject(ProjectModel project); | |
| Future<DataResponse>createTask(TaskModel task,); | |
| Future<DataResponse>createCategory(CategoryModel category); |