You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
504 B

import 'package:hadi_hoda_flutter/features/level/domain/entity/prize_entity.dart';
class PrizeModel extends PrizeEntity {
PrizeModel({
super.id,
super.afterLevel,
super.title,
super.imageURL,
super.animationURL,
});
factory PrizeModel.fromJson(Map<String, dynamic> json) {
return PrizeModel(
id: json['id'],
afterLevel: json['after_level'],
title: json['title'],
imageURL: json['image_url'],
animationURL: json['animation_url'],
);
}
}