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