toJson method
Converts a VideoNote object to JSON object
Implementation
Map<String, dynamic> toJson() {
return {
'file_id': fileId,
'file_unique_id': fileUniqueId,
'length': length,
'duration': duration,
'thumbnail': thumbnail?.toJson(),
'file_size': fileSize,
}..removeWhere(_nullFilter);
}