Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'type'] = this.type; json[r'count'] = this.count; return json; }