define method
Add a declaration to certain namespace.
Implementation
bool define(
String varName,
dynamic value, {
bool isMutable = false,
bool override = false,
bool throws = true,
String? moduleName,
String? sourceName,
}) =>
interpreter.define(
varName,
value,
isMutable: isMutable,
override: override,
throws: throws,
moduleName: moduleName,
);