GenerateQueryRequest.fromJson constructor
GenerateQueryRequest.fromJson(
- Map json_
Implementation
GenerateQueryRequest.fromJson(core.Map json_)
: this(
prompt: json_['prompt'] as core.String?,
schemas: (json_['schemas'] as core.List?)
?.map(
(value) =>
Schema.fromJson(value as core.Map<core.String, core.dynamic>),
)
.toList(),
);