import 'package:huixiang/data/banner.dart'; import 'package:json_annotation/json_annotation.dart'; part 'brand_data.g.dart'; @JsonSerializable(explicitToJson: true) class BrandData { BrandData(); List? bannerList; String? company; String? companyDesc; String? originAvatar; String? originDesc; String? originator; bool? inviteNewShow; dynamic contents; dynamic ideals; factory BrandData.fromJson(Map json) => _$BrandDataFromJson(json); Map toJson() => _$BrandDataToJson(this); }