I'm kinda new to Solidity, sorry for this in advance. I'm building a Dapp and cannot understand how to get a mapping or an array from a Struct. This is the struct that have inside a two mappings and one array.
struct Something {
uint256 var;
string[] array;
}
This is the result printed in the console:
{
var: "17"
}
As you can see, the call returns only level one attributes.
How to get that array from the struct?
Thanks in advance.
contract.methods._tasks(i)._freelancerArray[index]
should work