ToolParameterKvmatchSpec.fromJson constructor

ToolParameterKvmatchSpec.fromJson(
  1. Object? j
)

Implementation

factory ToolParameterKvmatchSpec.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return ToolParameterKvmatchSpec(
    useStrictStringMatch: switch (json['useStrictStringMatch']) {
      null => false,
      Object $1 => decodeBool($1),
    },
  );
}