Map<String, dynamic> toJson() { return <String, dynamic>{ 'freq': freq, 'data': data, 'format': format, }; }