FileSearchToolCallResult.fromJson constructor

FileSearchToolCallResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FileSearchToolCallResult.fromJson(Map<String, dynamic> json) => FileSearchToolCallResult(
      attributes: json['attributes'] as Map<String, dynamic>?,
      fileId: json['file_id'] as String?,
      filename: json['filename'] as String?,
      score: (json['score'] as num?),
      text: json['text'] as String?,
    );