PrizeInfoModel.fromJson constructor

PrizeInfoModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

PrizeInfoModel.fromJson(Map<String, dynamic> json) {
  prize = json['prize'] != null ? PrizeInfo?.fromJson(json['prize']) : null;
}