$RechargeTypeEntityFromJson function

RechargeTypeEntity $RechargeTypeEntityFromJson(
  1. Map<String, dynamic> json
)

Implementation

RechargeTypeEntity $RechargeTypeEntityFromJson(Map<String, dynamic> json) {
	final RechargeTypeEntity rechargeTypeEntity = RechargeTypeEntity();
	final List<RechargeTypeList>? rechargeModels = jsonConvert.convertListNotNull<RechargeTypeList>(json['rechargeModels']);
	if (rechargeModels != null) {
		rechargeTypeEntity.rechargeModels = rechargeModels;
	}
	return rechargeTypeEntity;
}