toNative static method

ZoneEventNative toNative(
  1. ZoneEvent obj
)

Implementation

static ZoneEventNative toNative(ZoneEvent obj)  {
    return _ZoneEventNativeInit(
      ZoneEventTypeImpl.toInt(obj.type),
      obj.locationId,
      obj.sublocationId,
      obj.id,
      toNativeString(obj.name),
      toNativeString(obj.alias),
    );
}