$LuckyBeanFromJson function
Implementation
LuckyBean $LuckyBeanFromJson(Map<String, dynamic> json) {
final LuckyBean luckyBean = LuckyBean();
final String? isLottery = jsonConvert.convert<String>(json['isLottery']);
if (isLottery != null) {
luckyBean.isLottery = isLottery;
}
return luckyBean;
}