You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
33 lines
1.2 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'brand_data.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
BrandData _$BrandDataFromJson(Map<String, dynamic> json) { |
|
return BrandData() |
|
..bannerList = (json['bannerList'] as List) |
|
?.map((e) => |
|
e == null ? null : BannerData.fromJson(e as Map<String, dynamic>)) |
|
?.toList() |
|
..company = json['company'] as String |
|
..companyDesc = json['companyDesc'] as String |
|
..originAvatar = json['originAvatar'] as String |
|
..originDesc = json['originDesc'] as String |
|
..originator = json['originator'] as String |
|
..contents = json['contents'] |
|
..ideals = json['ideals']; |
|
} |
|
|
|
Map<String, dynamic> _$BrandDataToJson(BrandData instance) => <String, dynamic>{ |
|
'bannerList': instance.bannerList, |
|
'company': instance.company, |
|
'companyDesc': instance.companyDesc, |
|
'originAvatar': instance.originAvatar, |
|
'originDesc': instance.originDesc, |
|
'originator': instance.originator, |
|
'contents': instance.contents, |
|
'ideals': instance.ideals, |
|
};
|
|
|