{ "cases": [ { "expression": "@{undefinedFunc()}", "expected": { "type": "error", "value": "Failed to evaluate [undefinedFunc()]. Unknown function name: undefinedFunc." }, "platforms": [ "android", "ios", "web", "flutter" ] }, { "expression": "@{unknownFunc(dict)}", "expected": { "type": "error", "value": "Failed to evaluate [unknownFunc()]. Unknown function name: unknownFunc." }, "variables": [ { "type": "dict", "name": "dict", "value": {} } ], "platforms": [ "android", "ios", "web", "flutter" ] }, { "expression": "@{round()}", "expected": { "type": "error", "value": "Failed to evaluate [round()]. Exactly 1 argument(s) expected." }, "platforms": [ "android", "ios", "web", "flutter" ] }, { "expression": "@{round('string')}", "expected": { "type": "error", "value": "Failed to evaluate [round('string')]. Invalid argument type: expected Number, got String." }, "platforms": [ "android", "ios", "web", "flutter" ] }, { "expression": "@{round(dict)}", "expected": { "type": "error", "value": "Failed to evaluate [round()]. Invalid argument type: expected Number, got Dict." }, "variables": [ { "name": "dict", "type": "dict", "value": {} } ], "platforms": [ "android", "ios", "web", "flutter" ] }, { "expression": "@{round(1.5, 2.5)}", "expected": { "type": "error", "value": "Failed to evaluate [round(1.5, 2.5)]. Exactly 1 argument(s) expected." }, "platforms": [ "android", "ios", "web", "flutter" ] }, { "expression": "@{getOptDictFromDict(dict)}", "expected": { "type": "error", "value": "Failed to evaluate [getOptDictFromDict()]. At least 2 argument(s) expected." }, "variables": [ { "name": "dict", "type": "dict", "value": {} } ], "platforms": [ "android", "ios", "web", "flutter" ] } ] }