methods method
List methods/functions in current environment.
Maps to: methods
Implementation
@override
List<FunctionInfo> methods() {
return _d4rt
.getConfiguration()
.globalFunctions
.map(
(f) => FunctionInfo(
name: f.name,
parameterNames: const [],
arity: 0, // arity not available in GlobalFunctionInfo
),
)
.toList();
}