static Count? fromJson(Map<String, dynamic>? json) { if (json == null) { return null; } return Count( count: (json['count'] as int?) ?? 0, ); }