ResponseContentPartDone.fromJson constructor

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

Implementation

factory ResponseContentPartDone.fromJson(Map<String, dynamic> json) => ResponseContentPartDone(
      part: ResponseContent.fromJson(json['part'] as Map<String, dynamic>),
      itemId: json['item_id'] as String,
      outputIndex: json['output_index'] as int,
      contentIndex: json['content_index'] as int,
      sequenceNumber: json['sequence_number'] as int,
    );