Map<String, dynamic> toJson() { final _json = <String, dynamic>{}; if (totalCount != null) { _json[r'total_count'] = totalCount; } return _json; }