toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'videoNote',
if (extra != null) '@extra': extra,
'duration': duration,
'waveform': waveform,
'length': length,
'minithumbnail': minithumbnail,
'thumbnail': thumbnail,
'speech_recognition_result': speech_recognition_result,
'video': video
};
}