import 'package:json_annotation/json_annotation.dart'; import 'levitating_ball_pop_bean.dart'; part 'levitating_ball_bean.g.dart'; @JsonSerializable() class LevitatingBallBean { String? name; int? ResType; String? ResId; String? ImageUrl; LevitatingBallPopBean? Popup; LevitatingBallBean(this.name, this.ResType, this.ResId, this.ImageUrl, this.Popup); factory LevitatingBallBean.fromJson(Map json) => _$LevitatingBallBeanFromJson(json); Map toJson() => _$LevitatingBallBeanToJson(this); }