fromNativeArray method
Implementation
@override
Vector2 fromNativeArray(NativeArray array, [int offset = 0]) {
x = array[offset].toDouble();
y = array[offset + 1].toDouble();
return this;
}
@override
Vector2 fromNativeArray(NativeArray array, [int offset = 0]) {
x = array[offset].toDouble();
y = array[offset + 1].toDouble();
return this;
}