class Stats { int? view; int? favorite; int? like; int? dislike; int? reply; int? share; int? coin; int? dynam1c; Stats({ this.view, this.favorite, this.like, this.dislike, this.reply, this.share, this.coin, this.dynam1c, }); factory Stats.fromJson(Map json) => Stats( view: json['view'] as int?, favorite: json['favorite'] as int?, like: json['like'] as int?, dislike: json['dislike'] as int?, reply: json['reply'] as int?, share: json['share'] as int?, coin: json['coin'] as int?, dynam1c: json['dynamic'] as int?, ); Map toJson() => { 'view': view, 'favorite': favorite, 'like': like, 'dislike': dislike, 'reply': reply, 'share': share, 'coin': coin, 'dynamic': dynam1c, }; }