dde66521f6
- Introduced a .dockerignore file to optimize Docker builds by excluding unnecessary files. - Updated the Dockerfile to use a Flutter base image, enabling web builds for the application. - Added new data models for `Lot` and `OrganizationAddress` to represent tender details more accurately. - Enhanced the `Organization` model to include `companyId` and a nested `address` field. - Updated the `TenderData` model to include new fields such as `noticeTypeCode`, `formType`, and `lots`, reflecting the API response structure. - Regenerated necessary code for data models to ensure compatibility with the updated structures.
27 lines
831 B
Dart
27 lines
831 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'organization.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_Organization _$OrganizationFromJson(Map<String, dynamic> json) =>
|
|
_Organization(
|
|
name: json['name'] as String?,
|
|
companyId: json['company_id'] as String?,
|
|
address:
|
|
json['address'] == null
|
|
? null
|
|
: OrganizationAddress.fromJson(
|
|
json['address'] as Map<String, dynamic>,
|
|
),
|
|
);
|
|
|
|
Map<String, dynamic> _$OrganizationToJson(_Organization instance) =>
|
|
<String, dynamic>{
|
|
'name': instance.name,
|
|
'company_id': instance.companyId,
|
|
'address': instance.address,
|
|
};
|