41 lines
1.4 KiB
Dart
41 lines
1.4 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'tender_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_TenderModel _$TenderModelFromJson(Map<String, dynamic> json) => _TenderModel(
|
|
createdTime: json['created_time'] as String?,
|
|
tenderId: json['tender_id'] as String?,
|
|
status: json['status'] as String?,
|
|
title: json['title'] as String?,
|
|
description: json['description'] as String?,
|
|
location: json['location'] as String?,
|
|
type: json['type'] as String?,
|
|
deadline: json['deadline'] as String?,
|
|
liked: json['liked'] as bool?,
|
|
disliked: json['disliked'] as bool?,
|
|
rejected: json['rejected'] as bool?,
|
|
submitted: json['submitted'] as bool?,
|
|
profileMatch: (json['profile_match'] as num?)?.toDouble(),
|
|
);
|
|
|
|
Map<String, dynamic> _$TenderModelToJson(_TenderModel instance) =>
|
|
<String, dynamic>{
|
|
'created_time': instance.createdTime,
|
|
'tender_id': instance.tenderId,
|
|
'status': instance.status,
|
|
'title': instance.title,
|
|
'description': instance.description,
|
|
'location': instance.location,
|
|
'type': instance.type,
|
|
'deadline': instance.deadline,
|
|
'liked': instance.liked,
|
|
'disliked': instance.disliked,
|
|
'rejected': instance.rejected,
|
|
'submitted': instance.submitted,
|
|
'profile_match': instance.profileMatch,
|
|
};
|