@@ -34,7 +34,7 @@ class JsModule extends Module {
3434 var staticFunctions = JSStaticFunctionPointer .allocateArray ([
3535 JSStaticFunctionStruct (
3636 name: 'print' .toNativeUtf8 (),
37- callAsFunction: Pointer .fromFunction (CoreCoder .flutterPrint ),
37+ callAsFunction: Pointer .fromFunction (CoreCoder .jsPrint ),
3838 attributes: JSPropertyAttributes .kJSPropertyAttributeNone,
3939 ),
4040 JSStaticFunctionStruct (
@@ -79,27 +79,27 @@ class JsModule extends Module {
7979 jscore.JSStaticFunction (
8080 name: "writeFile" ,
8181 attributes: jscore.JSPropertyAttributes .kJSPropertyAttributeReadOnly,
82- callAsFunction: Pointer .fromFunction (CoreCoder .flutterPrint )),
82+ callAsFunction: Pointer .fromFunction (CoreCoder .jsPrint )),
8383 jscore.JSStaticFunction (
8484 name: "appendFile" ,
8585 attributes: jscore.JSPropertyAttributes .kJSPropertyAttributeReadOnly,
86- callAsFunction: Pointer .fromFunction (CoreCoder .flutterPrint )),
86+ callAsFunction: Pointer .fromFunction (CoreCoder .jsPrint )),
8787 jscore.JSStaticFunction (
8888 name: "readFile" ,
8989 attributes: jscore.JSPropertyAttributes .kJSPropertyAttributeReadOnly,
90- callAsFunction: Pointer .fromFunction (CoreCoder .flutterPrint )),
90+ callAsFunction: Pointer .fromFunction (CoreCoder .jsPrint )),
9191 jscore.JSStaticFunction (
9292 name: "isExists" ,
9393 attributes: jscore.JSPropertyAttributes .kJSPropertyAttributeReadOnly,
94- callAsFunction: Pointer .fromFunction (CoreCoder .flutterPrint )),
94+ callAsFunction: Pointer .fromFunction (CoreCoder .jsPrint )),
9595 jscore.JSStaticFunction (
9696 name: "isFile" ,
9797 attributes: jscore.JSPropertyAttributes .kJSPropertyAttributeReadOnly,
98- callAsFunction: Pointer .fromFunction (CoreCoder .flutterPrint )),
98+ callAsFunction: Pointer .fromFunction (CoreCoder .jsPrint )),
9999 jscore.JSStaticFunction (
100100 name: "isDirectory" ,
101101 attributes: jscore.JSPropertyAttributes .kJSPropertyAttributeReadOnly,
102- callAsFunction: Pointer .fromFunction (CoreCoder .flutterPrint )),
102+ callAsFunction: Pointer .fromFunction (CoreCoder .jsPrint )),
103103 ];
104104 var classDef = jscore.JSClassDefinition (
105105 version: 0 ,
0 commit comments