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