toNative static method

TurnEventNative toNative(
  1. TurnEvent obj
)

Implementation

static TurnEventNative toNative(TurnEvent obj)  {
    return _TurnEventNativeInit(
      TurnTypeImpl.toInt(obj.type),
      obj.angle,
    );
}