fromNative static method
Implementation
static TurnEvent fromNative(TurnEventNative native, {bool takeOwnership = true}) {
return TurnEvent(
TurnTypeImpl.fromInt(native.type),
native.angle,
);
}
static TurnEvent fromNative(TurnEventNative native, {bool takeOwnership = true}) {
return TurnEvent(
TurnTypeImpl.fromInt(native.type),
native.angle,
);
}