toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"total_count": totalCount,
"has_photos": hasPhotos,
"has_videos": hasVideos,
"has_audios": hasAudios,
"has_documents": hasDocuments,
};
}