Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'sendCallLog', if (extra != null) '@extra': extra, 'call_id': call_id, 'log_file': log_file }; }