getCodeFromMap method
{
"as": "Scaffold",
"appBar": {
"as": "AppBar",
"title": "'Ahmet'",
"centerTitle": "false"
},
}
Output
: Scaffold(appBar: AppBar(title: 'Ahmet', centerTitle: false))
Implementation
IExpression getCodeFromMap(Map map) {
return Call(map['as'], argument: _getArgument(map));
}