call method
dynamic
call({})
Implementation
dynamic call(
{bool useCallingNamespace = true,
bool createInstance = true,
List<dynamic> positionalArgs = const [],
Map<String, dynamic> namedArgs = const {},
List<HTType> typeArgs = const []}) {
// For external async function, don't need this.
if (isAsync && !isExternal) {
return Future(() => _call(
useCallingNamespace: useCallingNamespace,
createInstance: createInstance,
positionalArgs: positionalArgs,
namedArgs: namedArgs,
typeArgs: typeArgs,
));
} else {
return _call(
useCallingNamespace: useCallingNamespace,
createInstance: createInstance,
positionalArgs: positionalArgs,
namedArgs: namedArgs,
typeArgs: typeArgs,
);
}
}