toNative static method

MasstransitTransportThreadAlertNative toNative(
  1. MasstransitTransportThreadAlert obj
)

Implementation

static MasstransitTransportThreadAlertNative toNative(
    MasstransitTransportThreadAlert obj) {
  return _MasstransitTransportThreadAlertNativeInit(
      to_native.toNativeString(obj.text),
      MasstransitTransportThreadAlertClosedImpl.toPointer(obj.closed),
      MasstransitTransportThreadAlertClosedUntilImpl.toPointer(
          obj.closedUntil),
      MasstransitTransportThreadAlertLastTripImpl.toPointer(obj.lastTrip));
}