QueryRequest.fromJson constructor
QueryRequest.fromJson(
- Map json_
Implementation
QueryRequest.fromJson(core.Map json_)
: this(
agentUserId: json_.containsKey('agentUserId')
? json_['agentUserId'] as core.String
: null,
inputs: json_.containsKey('inputs')
? (json_['inputs'] as core.List)
.map((value) => QueryRequestInput.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
requestId: json_.containsKey('requestId')
? json_['requestId'] as core.String
: null,
);