fromNative static method
Implementation
static MasstransitTransportThreadAlert fromNative(
MasstransitTransportThreadAlertNative native) {
return MasstransitTransportThreadAlert(
text: to_platform.toPlatformString(native.text),
closed: MasstransitTransportThreadAlertClosedImpl.fromPointer(
native.closed),
closedUntil: MasstransitTransportThreadAlertClosedUntilImpl.fromPointer(
native.closedUntil),
lastTrip: MasstransitTransportThreadAlertLastTripImpl.fromPointer(
native.lastTrip));
}