| // GENERATED CODE - DO NOT MODIFY BY HAND | |||||
| part of 'rest_client.dart'; | |||||
| // ************************************************************************** | |||||
| // RetrofitGenerator | |||||
| // ************************************************************************** | |||||
| class _RestClient implements RestClient { | |||||
| _RestClient(this._dio, {this.baseUrl}) { | |||||
| ArgumentError.checkNotNull(_dio, '_dio'); | |||||
| this.baseUrl ??= 'http://tpf.aztrace.vn'; | |||||
| } | |||||
| final Dio _dio; | |||||
| String baseUrl; | |||||
| @override | |||||
| login(userRequest) async { | |||||
| ArgumentError.checkNotNull(userRequest, 'userRequest'); | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| final _data = <String, dynamic>{}; | |||||
| _data.addAll(userRequest?.toJson() ?? <String, dynamic>{}); | |||||
| final Response<Map<String, dynamic>> _result = await _dio.request( | |||||
| '/api/authenticate', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'POST', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| final value = User.fromJson(_result.data); | |||||
| return value; | |||||
| } | |||||
| @override | |||||
| getMe() async { | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| final _data = <String, dynamic>{}; | |||||
| final Response<Map<String, dynamic>> _result = await _dio.request( | |||||
| '/api/account', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'GET', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| final value = Account.fromJson(_result.data); | |||||
| return value; | |||||
| } | |||||
| @override | |||||
| forgotPassword(email) async { | |||||
| ArgumentError.checkNotNull(email, 'email'); | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| final _data = email; | |||||
| await _dio.request<void>('/api/account/reset-password/init', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'POST', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| return null; | |||||
| } | |||||
| @override | |||||
| resetPassword(password) async { | |||||
| ArgumentError.checkNotNull(password, 'password'); | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| final _data = <String, dynamic>{}; | |||||
| _data.addAll(password?.toJson() ?? <String, dynamic>{}); | |||||
| await _dio.request<void>('/api/account/reset-password/finish', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'POST', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| return null; | |||||
| } | |||||
| @override | |||||
| changePassword(password) async { | |||||
| ArgumentError.checkNotNull(password, 'password'); | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| final _data = <String, dynamic>{}; | |||||
| _data.addAll(password?.toJson() ?? <String, dynamic>{}); | |||||
| await _dio.request<void>('/api/account/change-password', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'POST', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| return null; | |||||
| } | |||||
| @override | |||||
| updateProfile(account) async { | |||||
| ArgumentError.checkNotNull(account, 'account'); | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| final _data = <String, dynamic>{}; | |||||
| _data.addAll(account?.toJson() ?? <String, dynamic>{}); | |||||
| final Response<Map<String, dynamic>> _result = await _dio.request( | |||||
| '/api/update-my-profile', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'PUT', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| final value = Account.fromJson(_result.data); | |||||
| return value; | |||||
| } | |||||
| @override | |||||
| getSupplies(type) async { | |||||
| ArgumentError.checkNotNull(type, 'type'); | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| final _data = <String, dynamic>{}; | |||||
| final Response<List<dynamic>> _result = await _dio.request( | |||||
| '/api/tb-supplies-by-type/$type', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'GET', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| var value = _result.data | |||||
| .map((dynamic i) => Supply.fromJson(i as Map<String, dynamic>)) | |||||
| .toList(); | |||||
| return value; | |||||
| } | |||||
| @override | |||||
| updateFcmToken(token) async { | |||||
| ArgumentError.checkNotNull(token, 'token'); | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| final _data = token; | |||||
| await _dio.request<void>('/api/update-fcmToken', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'PUT', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| return null; | |||||
| } | |||||
| @override | |||||
| getPlots({page = 0, size = 20, query = ""}) async { | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| queryParameters.removeWhere((k, v) => v == null); | |||||
| final _data = <String, dynamic>{}; | |||||
| final Response<List<dynamic>> _result = await _dio.request( | |||||
| '/api/tb-crops?page=$page&size=$size&query=$query', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'GET', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| var value = _result.data | |||||
| .map((dynamic i) => Plot.fromJson(i as Map<String, dynamic>)) | |||||
| .toList(); | |||||
| return value; | |||||
| } | |||||
| @override | |||||
| getActionTypes() async { | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| final _data = <String, dynamic>{}; | |||||
| final Response<List<dynamic>> _result = await _dio.request( | |||||
| '/api/listActivityTypesOther', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'GET', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| var value = _result.data | |||||
| .map((dynamic i) => ActionType.fromJson(i as Map<String, dynamic>)) | |||||
| .toList(); | |||||
| return value; | |||||
| } | |||||
| @override | |||||
| getCropDetail(cropId, {page = 0, size = 20}) async { | |||||
| ArgumentError.checkNotNull(cropId, 'cropId'); | |||||
| const _extra = <String, dynamic>{}; | |||||
| final queryParameters = <String, dynamic>{}; | |||||
| queryParameters.removeWhere((k, v) => v == null); | |||||
| final _data = <String, dynamic>{}; | |||||
| final Response<Map<String, dynamic>> _result = await _dio.request( | |||||
| '/api/tb-crops-detail/$cropId?page=$page&size=$size&sort=executeDate,DESC', | |||||
| queryParameters: queryParameters, | |||||
| options: RequestOptions( | |||||
| method: 'GET', | |||||
| headers: <String, dynamic>{}, | |||||
| extra: _extra, | |||||
| baseUrl: baseUrl), | |||||
| data: _data); | |||||
| final value = Crop.fromJson(_result.data); | |||||
| return value; | |||||
| } | |||||
| } |
| import 'dart:async'; | import 'dart:async'; | ||||
| import 'package:farm_tpf/authentication/authentication.dart'; | |||||
| import 'package:farm_tpf/custom_model/user.dart'; | |||||
| import 'package:farm_tpf/custom_model/user_request.dart'; | |||||
| import 'package:farm_tpf/data/api/dio_provider.dart'; | import 'package:farm_tpf/data/api/dio_provider.dart'; | ||||
| import 'package:farm_tpf/data/api/rest_client.dart'; | import 'package:farm_tpf/data/api/rest_client.dart'; | ||||
| import 'package:farm_tpf/models/user.dart'; | |||||
| import 'package:farm_tpf/models/user_request.dart'; | |||||
| import 'package:farm_tpf/utils/const_common.dart'; | import 'package:farm_tpf/utils/const_common.dart'; | ||||
| import 'package:farm_tpf/utils/pref.dart'; | import 'package:farm_tpf/utils/pref.dart'; | ||||
| import 'package:meta/meta.dart'; | |||||
| enum AuthenticationStatus { unknown, authenticated, unauthenticated } | enum AuthenticationStatus { unknown, authenticated, unauthenticated } | ||||
| import 'package:farm_tpf/custom_model/user.dart'; | |||||
| import 'package:farm_tpf/custom_model/user_request.dart'; | |||||
| import 'package:farm_tpf/data/api/dio_provider.dart'; | import 'package:farm_tpf/data/api/dio_provider.dart'; | ||||
| import 'package:farm_tpf/data/api/rest_client.dart'; | import 'package:farm_tpf/data/api/rest_client.dart'; | ||||
| import 'package:farm_tpf/models/PagedResult.dart'; | import 'package:farm_tpf/models/PagedResult.dart'; | ||||
| import 'package:farm_tpf/models/Plot.dart'; | import 'package:farm_tpf/models/Plot.dart'; | ||||
| import 'package:farm_tpf/models/Supply.dart'; | import 'package:farm_tpf/models/Supply.dart'; | ||||
| import 'package:farm_tpf/models/index.dart'; | import 'package:farm_tpf/models/index.dart'; | ||||
| import 'package:farm_tpf/models/user.dart'; | |||||
| import 'package:farm_tpf/models/user_request.dart'; | |||||
| import 'package:farm_tpf/utils/const_common.dart'; | import 'package:farm_tpf/utils/const_common.dart'; | ||||
| class Repository { | class Repository { |
| import 'package:farm_tpf/custom_model/account.dart'; | |||||
| import 'package:farm_tpf/custom_model/password.dart'; | |||||
| import 'package:farm_tpf/data/api/dio_provider.dart'; | import 'package:farm_tpf/data/api/dio_provider.dart'; | ||||
| import 'package:farm_tpf/data/api/rest_client.dart'; | import 'package:farm_tpf/data/api/rest_client.dart'; | ||||
| import 'package:farm_tpf/models/account.dart'; | |||||
| import 'package:farm_tpf/models/password.dart'; | |||||
| class UserRepository { | class UserRepository { | ||||
| final dio = DioProvider.instance(); | final dio = DioProvider.instance(); |
| <String, dynamic>{ | <String, dynamic>{ | ||||
| 'id': instance.id, | 'id': instance.id, | ||||
| 'name': instance.name, | 'name': instance.name, | ||||
| 'description': instance.description, | |||||
| 'description': instance.description | |||||
| }; | }; |
| 'seedIncubationTime': instance.seedIncubationTime, | 'seedIncubationTime': instance.seedIncubationTime, | ||||
| 'numberPlants': instance.numberPlants, | 'numberPlants': instance.numberPlants, | ||||
| 'numberCurrentPlants': instance.numberCurrentPlants, | 'numberCurrentPlants': instance.numberCurrentPlants, | ||||
| 'endOfFarmingDate': instance.endOfFarmingDate, | |||||
| 'endOfFarmingDate': instance.endOfFarmingDate | |||||
| }; | }; |
| 'executeDate': instance.executeDate, | 'executeDate': instance.executeDate, | ||||
| 'description': instance.description, | 'description': instance.description, | ||||
| 'activityTypeId': instance.activityTypeId, | 'activityTypeId': instance.activityTypeId, | ||||
| 'activityTypeName': instance.activityTypeName, | |||||
| 'activityTypeName': instance.activityTypeName | |||||
| }; | }; |
| 'executeDate': instance.executeDate, | 'executeDate': instance.executeDate, | ||||
| 'description': instance.description, | 'description': instance.description, | ||||
| 'activityTypeName': instance.activityTypeName, | 'activityTypeName': instance.activityTypeName, | ||||
| 'workerName': instance.workerName, | |||||
| 'workerName': instance.workerName | |||||
| }; | }; |
| 'netHouseId': instance.netHouseId, | 'netHouseId': instance.netHouseId, | ||||
| 'netHouseName': instance.netHouseName, | 'netHouseName': instance.netHouseName, | ||||
| 'areaId': instance.areaId, | 'areaId': instance.areaId, | ||||
| 'area': instance.area, | |||||
| 'area': instance.area | |||||
| }; | }; |
| 'id': instance.id, | 'id': instance.id, | ||||
| 'name': instance.name, | 'name': instance.name, | ||||
| 'description': instance.description, | 'description': instance.description, | ||||
| 'isSelected': instance.isSelected, | |||||
| 'isSelected': instance.isSelected | |||||
| }; | }; |
| String unit; | String unit; | ||||
| num tbSuppliesTypeId; | num tbSuppliesTypeId; | ||||
| num tbCustomerId; | num tbCustomerId; | ||||
| bool isSelected = false; | |||||
| bool isSelected; | |||||
| factory Supply.fromJson(Map<String, dynamic> json) => _$SupplyFromJson(json); | factory Supply.fromJson(Map<String, dynamic> json) => _$SupplyFromJson(json); | ||||
| Map<String, dynamic> toJson() => _$SupplyToJson(this); | Map<String, dynamic> toJson() => _$SupplyToJson(this); |
| ..manufacturer = json['manufacturer'] as String | ..manufacturer = json['manufacturer'] as String | ||||
| ..unit = json['unit'] as String | ..unit = json['unit'] as String | ||||
| ..tbSuppliesTypeId = json['tbSuppliesTypeId'] as num | ..tbSuppliesTypeId = json['tbSuppliesTypeId'] as num | ||||
| ..tbCustomerId = json['tbCustomerId'] as num | |||||
| ..isSelected = false; | |||||
| ..tbCustomerId = json['tbCustomerId'] as num; | |||||
| } | } | ||||
| Map<String, dynamic> _$SupplyToJson(Supply instance) => <String, dynamic>{ | Map<String, dynamic> _$SupplyToJson(Supply instance) => <String, dynamic>{ | ||||
| 'manufacturer': instance.manufacturer, | 'manufacturer': instance.manufacturer, | ||||
| 'unit': instance.unit, | 'unit': instance.unit, | ||||
| 'tbSuppliesTypeId': instance.tbSuppliesTypeId, | 'tbSuppliesTypeId': instance.tbSuppliesTypeId, | ||||
| 'tbCustomerId': instance.tbCustomerId, | |||||
| 'tbCustomerId': instance.tbCustomerId | |||||
| }; | }; |
| import 'package:farm_tpf/custom_model/password.dart'; | |||||
| import 'package:farm_tpf/data/repository/user_repository.dart'; | import 'package:farm_tpf/data/repository/user_repository.dart'; | ||||
| import 'package:farm_tpf/models/password.dart'; | |||||
| import 'package:farm_tpf/presentation/custom_widgets/widget_loading.dart'; | import 'package:farm_tpf/presentation/custom_widgets/widget_loading.dart'; | ||||
| import 'package:farm_tpf/presentation/custom_widgets/widget_toast.dart'; | import 'package:farm_tpf/presentation/custom_widgets/widget_toast.dart'; | ||||
| import 'package:farm_tpf/utils/const_color.dart'; | import 'package:farm_tpf/utils/const_color.dart'; |
| import 'package:farm_tpf/custom_model/account.dart'; | |||||
| import 'package:farm_tpf/data/repository/user_repository.dart'; | import 'package:farm_tpf/data/repository/user_repository.dart'; | ||||
| import 'package:farm_tpf/models/account.dart'; | |||||
| import 'package:farm_tpf/presentation/custom_widgets/widget_loading.dart'; | import 'package:farm_tpf/presentation/custom_widgets/widget_loading.dart'; | ||||
| import 'package:farm_tpf/presentation/custom_widgets/widget_toast.dart'; | import 'package:farm_tpf/presentation/custom_widgets/widget_toast.dart'; | ||||
| import 'package:farm_tpf/presentation/screens/profile/sc_change_password.dart'; | import 'package:farm_tpf/presentation/screens/profile/sc_change_password.dart'; |
| # Generated by pub | # Generated by pub | ||||
| # See https://dart.dev/tools/pub/glossary#lockfile | # See https://dart.dev/tools/pub/glossary#lockfile | ||||
| packages: | packages: | ||||
| _fe_analyzer_shared: | |||||
| dependency: transitive | |||||
| description: | |||||
| name: _fe_analyzer_shared | |||||
| url: "https://pub.dartlang.org" | |||||
| source: hosted | |||||
| version: "6.0.0" | |||||
| analyzer: | analyzer: | ||||
| dependency: "direct main" | |||||
| dependency: transitive | |||||
| description: | description: | ||||
| name: analyzer | name: analyzer | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "0.39.14" | |||||
| version: "0.36.4" | |||||
| archive: | archive: | ||||
| dependency: transitive | dependency: transitive | ||||
| description: | description: | ||||
| name: build | name: build | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "1.3.0" | |||||
| version: "1.1.6" | |||||
| build_config: | build_config: | ||||
| dependency: transitive | dependency: transitive | ||||
| description: | description: | ||||
| name: build_config | name: build_config | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "0.4.2" | |||||
| version: "0.4.1+1" | |||||
| build_daemon: | build_daemon: | ||||
| dependency: transitive | dependency: transitive | ||||
| description: | description: | ||||
| name: build_resolvers | name: build_resolvers | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "1.3.11" | |||||
| version: "1.2.1" | |||||
| build_runner: | build_runner: | ||||
| dependency: "direct dev" | dependency: "direct dev" | ||||
| description: | description: | ||||
| name: build_runner | name: build_runner | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "1.10.0" | |||||
| version: "1.6.9" | |||||
| build_runner_core: | build_runner_core: | ||||
| dependency: transitive | dependency: transitive | ||||
| description: | description: | ||||
| name: build_runner_core | name: build_runner_core | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "5.2.0" | |||||
| version: "3.1.1" | |||||
| built_collection: | built_collection: | ||||
| dependency: transitive | dependency: transitive | ||||
| description: | description: | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "1.0.2" | version: "1.0.2" | ||||
| cli_util: | |||||
| dependency: transitive | |||||
| description: | |||||
| name: cli_util | |||||
| url: "https://pub.dartlang.org" | |||||
| source: hosted | |||||
| version: "0.1.4" | |||||
| code_builder: | code_builder: | ||||
| dependency: transitive | dependency: transitive | ||||
| description: | description: | ||||
| name: dart_style | name: dart_style | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "1.3.6" | |||||
| version: "1.2.9" | |||||
| dio: | dio: | ||||
| dependency: "direct main" | dependency: "direct main" | ||||
| description: | description: | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "0.3.0" | version: "0.3.0" | ||||
| front_end: | |||||
| dependency: transitive | |||||
| description: | |||||
| name: front_end | |||||
| url: "https://pub.dartlang.org" | |||||
| source: hosted | |||||
| version: "0.1.19" | |||||
| get: | get: | ||||
| dependency: "direct main" | dependency: "direct main" | ||||
| description: | description: | ||||
| name: json_annotation | name: json_annotation | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "3.0.1" | |||||
| version: "2.3.0" | |||||
| json_model: | |||||
| dependency: "direct dev" | |||||
| description: | |||||
| name: json_model | |||||
| url: "https://pub.dartlang.org" | |||||
| source: hosted | |||||
| version: "0.0.2" | |||||
| json_serializable: | json_serializable: | ||||
| dependency: "direct dev" | dependency: "direct dev" | ||||
| description: | description: | ||||
| name: json_serializable | name: json_serializable | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "3.4.1" | |||||
| version: "2.3.0" | |||||
| kernel: | |||||
| dependency: transitive | |||||
| description: | |||||
| name: kernel | |||||
| url: "https://pub.dartlang.org" | |||||
| source: hosted | |||||
| version: "0.3.19" | |||||
| keyboard_dismisser: | keyboard_dismisser: | ||||
| dependency: "direct main" | dependency: "direct main" | ||||
| description: | description: | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "0.4.3" | version: "0.4.3" | ||||
| package_resolver: | |||||
| dependency: transitive | |||||
| description: | |||||
| name: package_resolver | |||||
| url: "https://pub.dartlang.org" | |||||
| source: hosted | |||||
| version: "1.0.10" | |||||
| path: | path: | ||||
| dependency: transitive | dependency: transitive | ||||
| description: | description: | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "2.1.3" | version: "2.1.3" | ||||
| retrofit: | |||||
| dependency: transitive | |||||
| description: | |||||
| name: retrofit | |||||
| url: "https://pub.dartlang.org" | |||||
| source: hosted | |||||
| version: "1.3.4" | |||||
| retrofit_generator: | |||||
| dependency: "direct dev" | |||||
| description: | |||||
| name: retrofit_generator | |||||
| url: "https://pub.dartlang.org" | |||||
| source: hosted | |||||
| version: "1.3.7+6" | |||||
| rxdart: | rxdart: | ||||
| dependency: "direct main" | dependency: "direct main" | ||||
| description: | description: | ||||
| name: source_gen | name: source_gen | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "0.9.6" | |||||
| version: "0.9.4+4" | |||||
| source_span: | source_span: | ||||
| dependency: transitive | dependency: transitive | ||||
| description: | description: | ||||
| url: "https://pub.dartlang.org" | url: "https://pub.dartlang.org" | ||||
| source: hosted | source: hosted | ||||
| version: "0.1.1+2" | version: "0.1.1+2" | ||||
| tuple: | |||||
| dependency: transitive | |||||
| description: | |||||
| name: tuple | |||||
| url: "https://pub.dartlang.org" | |||||
| source: hosted | |||||
| version: "1.0.3" | |||||
| typed_data: | typed_data: | ||||
| dependency: transitive | dependency: transitive | ||||
| description: | description: |
| get: ^3.8.0 | get: ^3.8.0 | ||||
| intl: ^0.16.1 | intl: ^0.16.1 | ||||
| flutter_datetime_picker: ^1.3.8 | flutter_datetime_picker: ^1.3.8 | ||||
| analyzer: ^0.39.14 | |||||
| # analyzer: ^0.39.14 | |||||
| dev_dependencies: | dev_dependencies: | ||||
| flutter_test: | flutter_test: | ||||
| sdk: flutter | sdk: flutter | ||||
| #flutter packages pub run build_runner build --delete-conflicting-outputs | #flutter packages pub run build_runner build --delete-conflicting-outputs | ||||
| retrofit_generator: ^1.3.7 | |||||
| # retrofit_generator: ^1.3.7 | |||||
| # flutter packages pub run json_model | # flutter packages pub run json_model | ||||
| # json_model: ^0.0.2 | |||||
| json_model: ^0.0.2 | |||||
| build_runner: any | build_runner: any | ||||
| json_serializable: any | json_serializable: any | ||||