normalizeRawArgument method
void
normalizeRawArgument(
- dynamic arg,
- BcsType schema
Implementation
void normalizeRawArgument(
dynamic arg,
BcsType schema,
) {
if (arg is! Map) {
return;
}
if (arg["Input"] == null) {
return;
}
final input = _blockData.inputs[arg["Input"]];
if (input["UnresolvedPure"] == null) {
return;
}
_blockData.inputs[arg["Input"]] = Inputs.pure(schema.serialize(input["UnresolvedPure"]["value"]));
}