GlobalStats.fromJson constructor

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

Implementation

GlobalStats.fromJson(Map<String, dynamic> json) {
  stats = json['stats'] != null ? Stats.fromJson(json['stats']) : null;
  message = json['message'];
}