toJson method
Implementation
Map toJson() {
return {
'file_id': fileId,
'file_unique_id': fileUniqueId,
'width': width,
'height': height,
'is_animated': isAnimated,
'thumb': thumb,
'emoji': emoji,
'set_name': setName,
'mask_position': maskPosition,
'file_size': fileSize,
}..removeWhere((_, v) => v == null);
}