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