toJson method
Implementation
Map<String, dynamic> toJson() => {
if (attributes != null) 'attributes': attributes,
if (fileId != null) 'file_id': fileId,
if (filename != null) 'filename': filename,
if (score != null) 'score': score,
if (text != null) 'text': text,
};