import 'package:json_annotation/json_annotation.dart'; part 'rank.g.dart'; @JsonSerializable(explicitToJson: true) class Rank { String? createTime = ''; dynamic createUser; dynamic id; String? price; String? rankContent = ''; String? rankImg = ''; String? rankName = ''; int? rankOrigin = 0; bool? status = false; String? updateTime = ''; dynamic updateUser = 0; int? level = 0; String? color = ''; String? textColor = ''; int? originScore = 0; int? demotionScore = 0; Rank(); factory Rank.fromJson(Map json) => _$RankFromJson(json); Map toJson() => _$RankToJson(this); }