createTextNode method
Implementation
void createTextNode(
int targetId, Pointer<NativeBindingObject> nativePtr, String data) {
if (kProfileMode) {
PerformanceTiming.instance()
.mark(PERF_CREATE_TEXT_NODE_START, uniqueId: targetId);
}
TextNode textNode = document.createTextNode(
data, BindingContext(_contextId, nativePtr));
_setEventTarget(targetId, textNode);
if (kProfileMode) {
PerformanceTiming.instance()
.mark(PERF_CREATE_TEXT_NODE_END, uniqueId: targetId);
}
}