fromJson method

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

Implementation

static QueryInput fromJson(Map<String, dynamic> json) => QueryInput(
      audioConfig: json['audioConfig'] == null
          ? null
          : InputAudioConfig.fromJson(json['audioConfig']),
      text: json['text'] == null ? null : TextInput.fromJson(json['text']),
      event:
          json['event'] == null ? null : EventInput.fromJson(json['event']),
    );