toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (image != null) r'image': image,
if (schema != null) r'schema': schema,
if (self != null) r'self': self,
if (thumbnail != null) r'thumbnail': thumbnail,
};
}