ResponseOutputItemAdded.fromJson constructor

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

Parse the wire-format JSON.

Implementation

factory ResponseOutputItemAdded.fromJson(Map<String, dynamic> json) => ResponseOutputItemAdded(
      item: ResponseItem.fromJson(json['item'] as Map<String, dynamic>),
      outputIndex: json['output_index'] as int,
      sequenceNumber: json['sequence_number'] as int,
    );