toRaw method
Implementation
@override
Pointer<RawNativeIntersectionChangeEvent> toRaw([int methodLength = 0]) {
List<int> methods = [
doubleToUint64(intersectionRatio)
];
Pointer<RawNativeIntersectionChangeEvent> rawEvent = super.toRaw(methods.length).cast<RawNativeIntersectionChangeEvent>();
Uint64List bytes = rawEvent.ref.bytes.asTypedList((rawEvent.ref.length + methods.length));
bytes.setAll(rawEvent.ref.length, methods);
return rawEvent;
}