formatJson method
Format into FormatTypes.json.
'''
[
{
"type": "function",
"name": "balanceOf",
"constant":true,
"stateMutability": "view",
"payable":false, "inputs": [
{ "type": "address", "name": "owner"}
],
"outputs": [
{ "type": "uint256"}
]
},
]
'''
Implementation
String formatJson() => format(FormatTypes.json);