AsyncQueryReasoningEngineRequest.fromJson constructor
AsyncQueryReasoningEngineRequest.fromJson(
- Object? j
Implementation
factory AsyncQueryReasoningEngineRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return AsyncQueryReasoningEngineRequest(
name: switch (json['name']) {
null => '',
Object $1 => decodeString($1),
},
inputGcsUri: switch (json['inputGcsUri']) {
null => '',
Object $1 => decodeString($1),
},
outputGcsUri: switch (json['outputGcsUri']) {
null => '',
Object $1 => decodeString($1),
},
);
}